diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-07-29 13:31:31 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-07-29 13:31:31 +0200 |
commit | 653818fe2215c35d92f4f8cbc33b30190bbc21d8 (patch) | |
tree | 7e943f0f2442b144d9109bb7b63e8dbbe0b59b96 /src/main.cpp | |
parent | Fix && improve fonts management. (diff) | |
download | rekonq-653818fe2215c35d92f4f8cbc33b30190bbc21d8.tar.xz |
Enable raster engine by default on X11
Benjamin Poulain's patch (Thanks!!)
Diffstat (limited to 'src/main.cpp')
-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(); |