diff options
author | Shane Kearns <shane.kearns@sosco.com> | 2009-10-12 13:23:12 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@sosco.com> | 2009-10-12 17:31:26 (GMT) |
commit | 2b031abea42dbb56bff6a4d3db68f7b7c5058c12 (patch) | |
tree | 6ef5e9c008c516f347b3a269db30422539a47e98 /examples | |
parent | 7a8a891502c6a063b1b4223bcca714d22052e4aa (diff) | |
download | Qt-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')
-rw-r--r-- | examples/sql/drilldown/main.cpp | 3 |
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(); } |