- // Use the native graphicssystem per default, as the scaling of pixmaps is just way too
- // slow with the raster graphicssystem (see KPixmapModifier::scalePixmap()).
- QApplication::setGraphicsSystem("native");
-
- DolphinApplication app;
- KGlobal::locale()->insertCatalog("libkonq"); // needed for applications using libkonq
-
- if (app.isSessionRestored()) {
- app.restoreSession();
+ {
+ DolphinApplication app;
+ if (app.isSessionRestored()) {
+ app.restoreSession();
+ }
+ app.exec(); // krazy:exclude=crashy