summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d2d6482f..6db082b8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -205,6 +205,11 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
return 0;
}
+#if defined(Q_WS_X11)
+ // On X11, the raster engine gives better performance than native.
+ QApplication::setGraphicsSystem(QL1S("raster"));
+#endif
+
Application app;
return app.exec();