summaryrefslogtreecommitdiffstats
path: root/demos/embedded/embeddedsvgviewer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/embedded/embeddedsvgviewer/main.cpp')
-rw-r--r--demos/embedded/embeddedsvgviewer/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/embedded/embeddedsvgviewer/main.cpp b/demos/embedded/embeddedsvgviewer/main.cpp
index 10c7d76..9c91fb7 100644
--- a/demos/embedded/embeddedsvgviewer/main.cpp
+++ b/demos/embedded/embeddedsvgviewer/main.cpp
@@ -64,5 +64,8 @@ int main(int argc, char** argv)
viewer.showFullScreen();
+#ifdef QT_KEYPAD_NAVIGATION
+ QApplication::setNavigationMode(Qt::NavigationModeCursorAuto);
+#endif
return app.exec();
}