diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 6b1f1235..7f2b74cf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -181,7 +181,10 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv) kWarning() << "rekonq is already running!"; return 0; } - +#if defined(Q_WS_X11) + // On X11, the raster engine gives better performance than native. + QApplication::setGraphicsSystem(QString::fromLatin1("raster")); +#endif Application app; return app.exec(); |