Commit 3091a1d5 authored by Gus Grubba's avatar Gus Grubba

Windows needs window to be moved to center manually.

parent fd45f39d
......@@ -246,6 +246,7 @@ MainWindow::MainWindow(QSplashScreen* splashScreen)
int w = scrSize.width() > 1600 ? 1600 : scrSize.width();
int h = scrSize.height() > 800 ? 800 : scrSize.height();
resize(w, h);
move((scrSize.width() - w) / 2, (scrSize.height() - h) / 2);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment