summaryrefslogtreecommitdiffstats
path: root/demos/pathstroke/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/pathstroke/main.cpp')
-rw-r--r--demos/pathstroke/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/pathstroke/main.cpp b/demos/pathstroke/main.cpp
index 7c4ad83..60520f1 100644
--- a/demos/pathstroke/main.cpp
+++ b/demos/pathstroke/main.cpp
@@ -65,5 +65,8 @@ int main(int argc, char **argv)
else
pathStrokeWidget.show();
+#ifdef QT_KEYPAD_NAVIGATION
+ QApplication::setNavigationMode(Qt::NavigationModeCursorAuto);
+#endif
return app.exec();
}