Revision 851554

Go back to digest for 31st August 2008

Bug Fixes in KDE Base

Rafael Fernández López committed changes in /trunk/KDE/kdelibs/kdeui/widgets:

Fix all (or almost all) toolbar problems.

Now, in detail:
- We need two restoreState method calls when applying the main window settings.
One before we set the toolbars again, and another after that.
The first call will setup them, the second will do the right math with them (since toolbar text position, icon size... was set).

- Actually compress potential sync's with a proper timer
- When dirtying the settings, save directly (of course, for almost all actions, not for moving or resizing, which are compressed).

This prevents us from saving incorrect settings if toolbars have been removed/changed on the meanwhile, and thus, making QMainWindow::saveState() storing incorrect values.

File Changes

Modified 2 files
  • /trunk/KDE/kdelibs/kdeui/widgets
  •   /kmainwindow.cpp
  •   /kmainwindow_p.h
2 files changed in total