summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmenu_p.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-26 10:24:07 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-26 13:48:50 (GMT)
commitaa02959061857f3a3e91ec09e14ae38c399b2810 (patch)
tree6c2780b0070bc0582ea7622e618102f25966f610 /src/gui/widgets/qmenu_p.h
parentbd7c123dc88908f41e6c0eccb9b03f9684e5ca27 (diff)
downloadQt-aa02959061857f3a3e91ec09e14ae38c399b2810.zip
Qt-aa02959061857f3a3e91ec09e14ae38c399b2810.tar.gz
Qt-aa02959061857f3a3e91ec09e14ae38c399b2810.tar.bz2
QMenu: Fixed a painting regression
Diffstat (limited to 'src/gui/widgets/qmenu_p.h')
-rw-r--r--src/gui/widgets/qmenu_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/qmenu_p.h b/src/gui/widgets/qmenu_p.h
index fef1ff9..e92eca0 100644
--- a/src/gui/widgets/qmenu_p.h
+++ b/src/gui/widgets/qmenu_p.h
@@ -155,6 +155,7 @@ public:
mutable uint itemsDirty : 1;
mutable uint maxIconWidth, tabWidth;
QRect actionRect(QAction *) const;
+ QRect actionRect(int index) const;
struct ActionRectInfo {
QAction *action;