summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-04-12 08:27:34 +0000
committerPeter Volkov <pva@gentoo.org>2010-04-12 08:27:34 +0000
commit954b160847259d5bab99fac86c84df2eb19f9b90 (patch)
treef6b84054f3b110354d3c835f5fca0b41f8e9955e /x11-libs/qt/files/0047-fix-kmenu-widget.diff
parentnet-firewall/xtables-addons: Version bump. Hopefully fixed ACCESS VIOLATION, ... (diff)
downloadpva-954b160847259d5bab99fac86c84df2eb19f9b90.tar.gz
pva-954b160847259d5bab99fac86c84df2eb19f9b90.tar.bz2
pva-954b160847259d5bab99fac86c84df2eb19f9b90.zip
x11-libs/qt: preserving qt3.
svn path=/; revision=407
Diffstat (limited to 'x11-libs/qt/files/0047-fix-kmenu-widget.diff')
-rw-r--r--x11-libs/qt/files/0047-fix-kmenu-widget.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11-libs/qt/files/0047-fix-kmenu-widget.diff b/x11-libs/qt/files/0047-fix-kmenu-widget.diff
new file mode 100644
index 0000000..fb0bb16
--- /dev/null
+++ b/x11-libs/qt/files/0047-fix-kmenu-widget.diff
@@ -0,0 +1,25 @@
+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
+===================================================================
+RCS file: /home/kde/qt-copy/src/widgets/qpopupmenu.cpp,v
+retrieving revision 1.60
+diff -u -3 -p -b -r1.60 qpopupmenu.cpp
+--- src/widgets/qpopupmenu.cpp 29 Apr 2004 22:31:28 -0000 1.60
++++ src/widgets/qpopupmenu.cpp 30 Apr 2004 01:11:59 -0000
+@@ -2531,7 +2531,7 @@ QSize QPopupMenu::sizeHint() const
+
+ 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() );
+ }
+