diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/animation/animatedtiles/main.cpp | 3 | ||||
-rw-r--r-- | examples/draganddrop/fridgemagnets/main.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/examples/animation/animatedtiles/main.cpp b/examples/animation/animatedtiles/main.cpp index dfdaf73..ca52f47 100644 --- a/examples/animation/animatedtiles/main.cpp +++ b/examples/animation/animatedtiles/main.cpp @@ -274,6 +274,9 @@ int main(int argc, char **argv) timer.setSingleShot(true); rootState->addTransition(&timer, SIGNAL(timeout()), ellipseState); +#ifdef QT_KEYPAD_NAVIGATION + QApplication::setNavigationMode(Qt::NavigationModeCursorAuto); +#endif return app.exec(); } diff --git a/examples/draganddrop/fridgemagnets/main.cpp b/examples/draganddrop/fridgemagnets/main.cpp index eed8f70..6cff7c5c 100644 --- a/examples/draganddrop/fridgemagnets/main.cpp +++ b/examples/draganddrop/fridgemagnets/main.cpp @@ -51,6 +51,9 @@ int main(int argc, char *argv[]) smallScreen = true; QApplication app(argc, argv); +#ifdef QT_KEYPAD_NAVIGATION + QApplication::setNavigationMode(Qt::NavigationModeCursorAuto); +#endif DragWidget window; if (smallScreen) window.showFullScreen(); |