mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
Don't set the window size on iOS, either
Not that it appears to have been an issue, it just seemed wrong for this to be Android only... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8afdb665cd
commit
65696e1eb5
1 changed files with 1 additions and 2 deletions
|
@ -76,8 +76,7 @@ void run_ui()
|
||||||
QObject::connect(qml_window, &QQuickWindow::screenChanged, QMLManager::instance(), &QMLManager::screenChanged);
|
QObject::connect(qml_window, &QQuickWindow::screenChanged, QMLManager::instance(), &QMLManager::screenChanged);
|
||||||
QMLManager::instance()->screenChanged(screen);
|
QMLManager::instance()->screenChanged(screen);
|
||||||
qDebug() << "qqwindow screen has ldpi/pdpi" << screen->logicalDotsPerInch() << screen->physicalDotsPerInch();
|
qDebug() << "qqwindow screen has ldpi/pdpi" << screen->logicalDotsPerInch() << screen->physicalDotsPerInch();
|
||||||
|
#if !defined(Q_OS_ANDROID) && !defined(Q_OS_IOS)
|
||||||
#if !defined(Q_OS_ANDROID)
|
|
||||||
qml_window->setHeight(1200);
|
qml_window->setHeight(1200);
|
||||||
qml_window->setWidth(800);
|
qml_window->setWidth(800);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue