Revision 905350

Go back to digest for 11th January 2009

Bug Fixes in KDE Base

Friedrich W. H. Kossebau committed changes in /trunk/KDE/kdelibs/kdeui/shortcuts/kacceleratormanager.cpp:

fixed: no more endless accelerator update loop with tabbed QDockWidgets

The tab for a QDockWidget does always get synchronized to the title of the QDockWidget. So setting different synchronizers is impossible, both will have the same shortcut in the end -> conflict -> new accelerator manager run.

Solved by taking QTabBars for QDockWidgets out of management. The resulting same shortcut for both tab and QDockWidget can be ignored, as a QDockWidget does not grab a shortcut anyway. But giving no shortcut to a QDockWidget will also leave the tab without a shortcut, due to the synchronisation. So picked the less(?) worse solution.

Still needed: better heuristic to detect a QTabBar for QDockWidgets.

See <a href=""></a>; and <a href=""></a>;

File Changes

Modified 1 files
  • /trunk/KDE/kdelibs/kdeui/shortcuts/kacceleratormanager.cpp
1 files changed in total