Jean-Marc Lasgouttes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Could you please try this patch?
It would be nice too to understand what takes 2.5s when resetting the
GUI.
GuiPrefs.cpp(489): QPixmapCache::clear 0
GuiPrefs.cpp(492): fontLoader().update 0
GuiPrefs.cpp(495): updateScreenFonts 0
GuiView.cpp(1611): toolbars_->init 3616
GuiView.cpp(1614): menus().fillMenuBar 10
GuiView.cpp(1618): layout_->updateContents 0
Time is in millisecond. I will disable Toolbars_ reinitialisation for
now... even though the idea of reloading the toolbars at runtime sounds
nice. If anybody wants to optimize that, that would be welcome.
By the way, this also means that we could gain 3.6 second for startup
time on windows!!!
Abdel.