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