From 2b031abea42dbb56bff6a4d3db68f7b7c5058c12 Mon Sep 17 00:00:00 2001 From: Shane Kearns Date: Mon, 12 Oct 2009 15:23:12 +0200 Subject: 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 --- examples/sql/drilldown/main.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(); } -- cgit v0.12