summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmenu_p.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-11-17 16:33:14 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-11-18 12:09:16 (GMT)
commit6f55976270b22142da78b80abbebf018539587de (patch)
tree33963225cd9bc45e911e5230a33bdc45be6e8927 /src/gui/widgets/qmenu_p.h
parentb6070e9a069219e4049fcf017d6a160b80bf37b7 (diff)
downloadQt-6f55976270b22142da78b80abbebf018539587de.zip
Qt-6f55976270b22142da78b80abbebf018539587de.tar.gz
Qt-6f55976270b22142da78b80abbebf018539587de.tar.bz2
QMenu: make the menu follow its parent/caused layout direction
The autotest are included Task-number: QTBUG-5884 Reviewed-by: ogoffart
Diffstat (limited to 'src/gui/widgets/qmenu_p.h')
-rw-r--r--src/gui/widgets/qmenu_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/qmenu_p.h b/src/gui/widgets/qmenu_p.h
index c021063..5757885 100644
--- a/src/gui/widgets/qmenu_p.h
+++ b/src/gui/widgets/qmenu_p.h
@@ -292,6 +292,9 @@ public:
bool hasMouseMoved(const QPoint &globalPos);
+ void updateLayoutDirection();
+
+
//menu fading/scrolling effects
bool doChildEffects;