summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkku Luukkainen <markku.luukkainen@digia.com>2009-06-03 10:49:29 (GMT)
committerMarkku Luukkainen <markku.luukkainen@digia.com>2009-06-03 10:49:29 (GMT)
commitb2d43b06d1c1debcd42afbc7dfd85c4991c670d5 (patch)
treedfcd5b5324ecf9c2ef3891a1f3729431f743c2a0
parent988f6ae93c771fe94f12a0307d34c14edd5f2c3b (diff)
downloadQt-b2d43b06d1c1debcd42afbc7dfd85c4991c670d5.zip
Qt-b2d43b06d1c1debcd42afbc7dfd85c4991c670d5.tar.gz
Qt-b2d43b06d1c1debcd42afbc7dfd85c4991c670d5.tar.bz2
Added automatic creation for symbian os if softkeystack is enabled.
This circumvents the need to go and change every example to explicitly start using softkeystack
-rw-r--r--src/gui/widgets/qmainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/qmainwindow.cpp b/src/gui/widgets/qmainwindow.cpp
index 6843d4e..37b1398 100644
--- a/src/gui/widgets/qmainwindow.cpp
+++ b/src/gui/widgets/qmainwindow.cpp
@@ -121,6 +121,9 @@ void QMainWindowPrivate::init()
explicitIconSize = false;
q->setAttribute(Qt::WA_Hover);
+#if defined(Q_OS_SYMBIAN) && !defined(QT_NO_SOFTKEYSTACK)
+ softKeyStack = new QSoftKeyStack(q);
+#endif
}
/*