diff options
Diffstat (limited to 'opensuse/core/qt3/0047-fix-kmenu-width.diff')
-rw-r--r-- | opensuse/core/qt3/0047-fix-kmenu-width.diff | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/opensuse/core/qt3/0047-fix-kmenu-width.diff b/opensuse/core/qt3/0047-fix-kmenu-width.diff new file mode 100644 index 000000000..398ca0cc4 --- /dev/null +++ b/opensuse/core/qt3/0047-fix-kmenu-width.diff @@ -0,0 +1,23 @@ +qt-bugs@ issue: N46882 +bugs.kde.org number: 77545 +applied: no +author: Stephan Binner <binner@kde.org> + +Fix wrong K menu width for the case of enabled side pixmap and a menu title +(like "Recently Used Applications") being longer than every other entry. + +Solution: Respect PanelKMenu::setMaximumSize() as up to Qt 3.2.3 + +Index: src/widgets/qpopupmenu.cpp +================================================================================ +--- src/widgets/qpopupmenu.cpp ++++ src/widgets/qpopupmenu.cpp +@@ -2530,7 +2530,7 @@ + constPolish(); + QPopupMenu* that = (QPopupMenu*) this; + //We do not need a resize here, just the sizeHint.. +- return that->updateSize(FALSE, FALSE).expandedTo( QApplication::globalStrut() ); ++ return that->updateSize(FALSE).expandedTo( QApplication::globalStrut() ); + } + + |