summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmainwindow.cpp
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2010-03-02 14:03:26 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2010-03-02 14:03:26 (GMT)
commita76d12862122504bae2e75cb78bdb21d180aaca0 (patch)
tree5e6941564c2a49a44731664f482cd639ad3ec761 /src/gui/widgets/qmainwindow.cpp
parent94b2938086203bc6154b107c518df7a6fbfb4b2c (diff)
downloadQt-a76d12862122504bae2e75cb78bdb21d180aaca0.zip
Qt-a76d12862122504bae2e75cb78bdb21d180aaca0.tar.gz
Qt-a76d12862122504bae2e75cb78bdb21d180aaca0.tar.bz2
Re-applied a fix which get lost during softkey refactoring.
See original commit (b461da1040c32d6690870290d6716a3b5cb7e9e9) for more information. Task-number: QTBUG-6220 Reviewed-By: TrustMe
Diffstat (limited to 'src/gui/widgets/qmainwindow.cpp')
-rw-r--r--src/gui/widgets/qmainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/qmainwindow.cpp b/src/gui/widgets/qmainwindow.cpp
index e7c4f45..7e59bb0 100644
--- a/src/gui/widgets/qmainwindow.cpp
+++ b/src/gui/widgets/qmainwindow.cpp
@@ -119,6 +119,7 @@ void QMainWindowPrivate::init()
q->setAttribute(Qt::WA_Hover);
#ifdef QT_SOFTKEYS_ENABLED
menuBarAction = QSoftKeyManager::createAction(QSoftKeyManager::MenuSoftKey, q);
+ menuBarAction->setVisible(false);
#endif
}