Fix forward navigation control on Linux.
[dorian] / main.cpp
index 1a23466..e622dc8 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -51,12 +51,14 @@ int main(int argc, char *argv[])
 
     // Initialize main window
     MainWindow *mainWindow = new MainWindow();
-    settings->apply();
     mainWindow->initialize();
 
     // Hide splash screen
     splash.finish(mainWindow);
 
+    // Apply settings (orientation, style etc.)
+    settings->apply();
+
     // Run event loop, re-start application if event loop exit code was 1000
     ret = app.exec();
     if (ret == 1000) {