diff options
author | ninerider <qt-info@nokia.com> | 2009-11-23 12:09:56 (GMT) |
---|---|---|
committer | ninerider <qt-info@nokia.com> | 2009-11-23 12:09:56 (GMT) |
commit | cda63c368dbb5acd040e2190db8f25de69462d8e (patch) | |
tree | 55d6d05b82399e9911e2e193aaf4a1cc65ab933c /src/gui | |
parent | 7e7e3c3fe15780aa7d024e136acaf697ab49458c (diff) | |
download | Qt-cda63c368dbb5acd040e2190db8f25de69462d8e.zip Qt-cda63c368dbb5acd040e2190db8f25de69462d8e.tar.gz Qt-cda63c368dbb5acd040e2190db8f25de69462d8e.tar.bz2 |
WinCE: only use native menu bars for windows mobile
On Windows CE the native menubar must not be used.
The corresponding flag was never set for Windows CE.
Task-number: QT-2530
Reviewed-by: Maurice
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/qmenubar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/qmenubar.cpp b/src/gui/widgets/qmenubar.cpp index e50de02..377b39a 100644 --- a/src/gui/widgets/qmenubar.cpp +++ b/src/gui/widgets/qmenubar.cpp @@ -736,6 +736,9 @@ void QMenuBarPrivate::init() if(wce_menubar) q->hide(); } + else { + QApplication::setAttribute(Qt::AA_DontUseNativeMenuBar, true); + } #endif #ifdef Q_WS_S60 symbianCreateMenuBar(q->parentWidget()); |