summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-11-13 15:31:49 (GMT)
committeraxis <qt-info@nokia.com>2009-11-13 15:47:22 (GMT)
commit403a8b1d755b673178d203d5ec9bef64f37ac8d0 (patch)
tree5d8f27f526f46317b82e1c040092910f84a1c9d2 /src/gui/kernel
parentaf6ad82b04135a485b3efc88d654c8209db70673 (diff)
downloadQt-403a8b1d755b673178d203d5ec9bef64f37ac8d0.zip
Qt-403a8b1d755b673178d203d5ec9bef64f37ac8d0.tar.gz
Qt-403a8b1d755b673178d203d5ec9bef64f37ac8d0.tar.bz2
Fixed compilation on S60 without keypad navigation.
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index 4291bee..d23b071 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -1145,11 +1145,13 @@ void qt_init(QApplicationPrivate * /* priv */, int)
S60->virtualMouseRequired = false;
}
+#ifdef QT_KEYPAD_NAVIGATION
if (touch) {
QApplicationPrivate::navigationMode = Qt::NavigationModeNone;
} else {
QApplicationPrivate::navigationMode = Qt::NavigationModeKeypadDirectional;
}
+#endif
#ifndef QT_NO_CURSOR
//Check if window server pointer cursors are supported or not