[Committed] KAcceleratorManager is broken wrt QDockWidget

Friedrich W. H. Kossebau kossebau at kde.org
Sun Jan 4 10:59:30 GMT 2009


Am Samstag, 3. Januar 2009, um 14:58 Uhr, schrieb Friedrich W. H. Kossebau:
> The attached patch tries to solve the problem by dropping those QTabBars
> from accelerator setting which stack the QDockWidgets. Not perfect, but
> works better than before, i.e. no endless loop for accelerator setting. The
> tab texts get the accelerators from the QDockWidgets title, also the hidden
> ones.
>
> Problem is: How to precisely detect if the QTabBar is the one handling the
> QDockWidgets? The test, as done in the patch, for the parent being of
> QMainWindow type might perhaps effect other QTabBars as well? What chance
> is there to meet such examples in real life?
>
> Your comments, please. I will commit sunday evening, otherwise :)

Not evening, highnoon instead. Well, evening in Australia at least ;)
Committed as #905350. 

Cheers
Friedrich
-- 
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta




More information about the kde-core-devel mailing list