summaryrefslogtreecommitdiff
path: root/examples/sql/drilldown
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-10-12 15:23:12 +0200
committerShane Kearns <shane.kearns@sosco.com>2009-10-12 19:31:26 +0200
commit2b031abea42dbb56bff6a4d3db68f7b7c5058c12 (patch)
tree6ef5e9c008c516f347b3a269db30422539a47e98 /examples/sql/drilldown
parent7a8a891502c6a063b1b4223bcca714d22052e4aa (diff)
downloadqt4-tools-2b031abea42dbb56bff6a4d3db68f7b7c5058c12.tar.gz
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/drilldown')
-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 20f4cbf945..f0b506e437 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();
}