Browse Source

Windows needs window to be moved to center manually.

QGC4.4
Gus Grubba 10 years ago
parent
commit
3091a1d5bc
  1. 1
      src/ui/MainWindow.cc

1
src/ui/MainWindow.cc

@ -246,6 +246,7 @@ MainWindow::MainWindow(QSplashScreen* splashScreen) @@ -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);
}
}

Loading…
Cancel
Save