summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-05-12 13:42:27 (GMT)
committeraxis <qt-info@nokia.com>2009-05-12 13:42:27 (GMT)
commit3749fcfdb5b6dcf538ceb909f1fec7971fe3a74b (patch)
tree2c87d9f13a5d0bdb9526954512278930d3e9c9db /src
parent6eb4a47a56914ca65d11736af5c0d758755d0291 (diff)
downloadQt-3749fcfdb5b6dcf538ceb909f1fec7971fe3a74b.zip
Qt-3749fcfdb5b6dcf538ceb909f1fec7971fe3a74b.tar.gz
Qt-3749fcfdb5b6dcf538ceb909f1fec7971fe3a74b.tar.bz2
Fixed autoSipEnabled default value on non-WinCE platforms.
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qapplication.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index 1b6bdea..1906025 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -135,8 +135,10 @@ bool QApplicationPrivate::quitOnLastWindowClosed = true;
#ifdef Q_OS_WINCE
int QApplicationPrivate::autoMaximizeThreshold = -1;
-#endif
bool QApplicationPrivate::autoSipEnabled = false;
+#else
+bool QApplicationPrivate::autoSipEnabled = true;
+#endif
QApplicationPrivate::QApplicationPrivate(int &argc, char **argv, QApplication::Type type)
: QCoreApplicationPrivate(argc, argv)
@@ -1241,6 +1243,8 @@ bool QApplication::compressEvent(QEvent *event, QObject *receiver, QPostEventLis
The property only has an effect on platforms which use software input
panels, such as Windows CE and Symbian.
+
+ The default is platform dependent.
*/
#ifdef Q_OS_WINCE