From b2d43b06d1c1debcd42afbc7dfd85c4991c670d5 Mon Sep 17 00:00:00 2001 From: Markku Luukkainen Date: Wed, 3 Jun 2009 12:49:29 +0200 Subject: 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 --- src/gui/widgets/qmainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 } /* -- cgit v0.12