KDE/kdelibs/kdeui

Friedrich W. H. Kossebau kossebau at kde.org
Sun Jan 11 15:26:49 GMT 2009


Am Samstag, 10. Januar 2009, um 03:15 Uhr, schrieb Friedrich W. H. Kossebau:
> SVN commit 908643 by kossebau:
>
> fixed: if KSelectAction gets disabled, its KComboBox isn't (workaround for
> QWidgetAction flaw)
>
> KSelectAction has the problem that it does not disable its KComboBox, if is
> disabled itself. It works if it is in MenuMode, because there KSelectAction
> creates a QToolButton and sets itself as the default action. As a
> QToolButton reacts to changes of its default action it also syncs with the
> enabled state. One would expect that the base class QWidgetAction does this
> itself also for all other widgets, but obviously it doesn't (Qt 4.4.3).
> Reported to the Trolls.
>
> Is there a smarter solution?
> Okay to backport to 4.2?

No objections, so backported with r909224.

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




More information about the kde-core-devel mailing list