summaryrefslogtreecommitdiffstats
path: root/examples/sql
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-10-12 13:23:12 (GMT)
committerShane Kearns <shane.kearns@sosco.com>2009-10-12 17:31:26 (GMT)
commit2b031abea42dbb56bff6a4d3db68f7b7c5058c12 (patch)
tree6ef5e9c008c516f347b3a269db30422539a47e98 /examples/sql
parent7a8a891502c6a063b1b4223bcca714d22052e4aa (diff)
downloadQt-2b031abea42dbb56bff6a4d3db68f7b7c5058c12.zip
Qt-2b031abea42dbb56bff6a4d3db68f7b7c5058c12.tar.gz
Qt-2b031abea42dbb56bff6a4d3db68f7b7c5058c12.tar.bz2
Enable mouse cursor in drilldown example
This example is unusable with keypad navigation, virtual cursor makes it possible to use without touch screen Reviewed-by: TrustMe
Diffstat (limited to 'examples/sql')
-rw-r--r--examples/sql/drilldown/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/sql/drilldown/main.cpp b/examples/sql/drilldown/main.cpp
index 20f4cbf..f0b506e 100644
--- a/examples/sql/drilldown/main.cpp
+++ b/examples/sql/drilldown/main.cpp
@@ -59,5 +59,8 @@ int main(int argc, char *argv[])
#else
view.showFullScreen();
#endif
+#ifdef QT_KEYPAD_NAVIGATION
+ QApplication::setNavigationMode(Qt::NavigationModeCursorAuto);
+#endif
return app.exec();
}