Blame SOURCES/0047-fix-kmenu-width.diff

106311
qt-bugs@ issue: N46882
106311
bugs.kde.org number: 77545
106311
applied: no
106311
author: Stephan Binner <binner@kde.org>
106311
106311
Fix wrong K menu width for the case of enabled side pixmap and a menu title
106311
(like "Recently Used Applications") being longer than every other entry.
106311
106311
Solution: Respect PanelKMenu::setMaximumSize() as up to Qt 3.2.3
106311
106311
Index: src/widgets/qpopupmenu.cpp
106311
===================================================================
106311
RCS file: /home/kde/qt-copy/src/widgets/qpopupmenu.cpp,v
106311
retrieving revision 1.60
106311
diff -u -3 -p -b -r1.60 qpopupmenu.cpp
106311
--- src/widgets/qpopupmenu.cpp	29 Apr 2004 22:31:28 -0000	1.60
106311
+++ src/widgets/qpopupmenu.cpp	30 Apr 2004 01:11:59 -0000
106311
@@ -2531,7 +2531,7 @@ QSize QPopupMenu::sizeHint() const
106311
 
106311
     QPopupMenu* that = (QPopupMenu*) this;
106311
     //We do not need a resize here, just the sizeHint..
106311
-    return that->updateSize(FALSE, FALSE).expandedTo( QApplication::globalStrut() );
106311
+    return that->updateSize(FALSE).expandedTo( QApplication::globalStrut() );
106311
 }
106311