mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:37:46 +02:00
Changed default interface window size on mac
This commit is contained in:
parent
f99bb3ec77
commit
e5fcc577f0
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ void MainWindow::restoreGeometry() {
|
||||||
// see http://doc.qt.io/qt-5/qsettings.html#restoring-the-state-of-a-gui-application
|
// see http://doc.qt.io/qt-5/qsettings.html#restoring-the-state-of-a-gui-application
|
||||||
QRect windowGeometry = QGuiApplication::primaryScreen()->availableGeometry();
|
QRect windowGeometry = QGuiApplication::primaryScreen()->availableGeometry();
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
windowGeometry.setSize((windowGeometry.size() * 0.5f));
|
windowGeometry.setSize((windowGeometry.size() * 0.8f));
|
||||||
#endif
|
#endif
|
||||||
QRect geometry = _windowGeometry.get(windowGeometry);
|
QRect geometry = _windowGeometry.get(windowGeometry);
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
|
|
Loading…
Reference in a new issue