3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 23:55:34 +02:00

Changed default interface window size on mac

This commit is contained in:
Rebecca Stankus 2019-11-01 10:47:12 -07:00
parent f99bb3ec77
commit e5fcc577f0

View file

@ -62,7 +62,7 @@ void MainWindow::restoreGeometry() {
// see http://doc.qt.io/qt-5/qsettings.html#restoring-the-state-of-a-gui-application
QRect windowGeometry = QGuiApplication::primaryScreen()->availableGeometry();
#if defined(Q_OS_MAC)
windowGeometry.setSize((windowGeometry.size() * 0.5f));
windowGeometry.setSize((windowGeometry.size() * 0.8f));
#endif
QRect geometry = _windowGeometry.get(windowGeometry);
#if defined(Q_OS_MAC)