summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-07-05 13:14:01 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-07-05 13:14:01 (GMT)
commitd9bdaeff3b25ae72fe766bf54a4f76f23d97705b (patch)
tree275d7938bd1acd130fa259ded49c2df0b025d51c /src/gui/kernel
parentedced802d26da8347a827f041561d0e33d79c95e (diff)
downloadQt-d9bdaeff3b25ae72fe766bf54a4f76f23d97705b.zip
Qt-d9bdaeff3b25ae72fe766bf54a4f76f23d97705b.tar.gz
Qt-d9bdaeff3b25ae72fe766bf54a4f76f23d97705b.tar.bz2
Support partial input mode
Connect the internal private API to the QApplication public attribute. This allows the enabling/disabling of the splitview functionality from apps without any hacks. Task-number: QTBUG-16572 Reviewed-by: Tomi Vihria
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qapplication.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index 4552255..34ce9a8 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -1017,6 +1017,10 @@ void QApplicationPrivate::initialize()
QApplicationPrivate::wheel_scroll_lines = 3;
#endif
+#ifdef Q_WS_S60
+ q->setAttribute(Qt::AA_S60DisablePartialScreenInputMode);
+#endif
+
if (qt_is_gui_used)
initializeMultitouch();
}