summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmenubar.cpp
diff options
context:
space:
mode:
authorMarkku Luukkainen <markku.luukkainen@digia.com>2009-04-28 06:57:23 (GMT)
committerMarkku Luukkainen <markku.luukkainen@digia.com>2009-04-28 06:57:23 (GMT)
commit9a17e2ac3f9654f7f328aeae5673cff1254517ae (patch)
tree2b9d4bede4c9caabca5eb14b0906fd481f2a1e38 /src/gui/widgets/qmenubar.cpp
parent001d46dffc6240da27634ef9e27b47f768587253 (diff)
downloadQt-9a17e2ac3f9654f7f328aeae5673cff1254517ae.zip
Qt-9a17e2ac3f9654f7f328aeae5673cff1254517ae.tar.gz
Qt-9a17e2ac3f9654f7f328aeae5673cff1254517ae.tar.bz2
Fixed wrong menu showing up on S60 while launching a dialog.
Diffstat (limited to 'src/gui/widgets/qmenubar.cpp')
-rw-r--r--src/gui/widgets/qmenubar.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/qmenubar.cpp b/src/gui/widgets/qmenubar.cpp
index b92f48b..b6ce76b 100644
--- a/src/gui/widgets/qmenubar.cpp
+++ b/src/gui/widgets/qmenubar.cpp
@@ -1045,6 +1045,12 @@ void QMenuBar::setVisible(bool visible)
if(d->wce_menubar)
return;
#endif
+#ifdef Q_OS_SYMBIAN
+ Q_D(QMenuBar);
+ if(d->symbian_menubar)
+ return;
+#endif
+
QWidget::setVisible(visible);
}