diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 1f17ad1456ef968fc2c98c22e2884c4c21812fe3..804bfcf7f3a1a638fe78255e9dcc5c4a1c824cb8 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -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); } }