From 3091a1d5bc48e401bc15d40c1c832e1ef22877ec Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Tue, 21 Apr 2015 20:32:55 -0400 Subject: [PATCH] Windows needs window to be moved to center manually. --- src/ui/MainWindow.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 1f17ad145..804bfcf7f 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); } } -- 2.22.0