mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +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);
|
||||
QMLManager::instance()->screenChanged(screen);
|
||||
qDebug() << "qqwindow screen has ldpi/pdpi" << screen->logicalDotsPerInch() << screen->physicalDotsPerInch();
|
||||
|
||||
#if !defined(Q_OS_ANDROID)
|
||||
#if !defined(Q_OS_ANDROID) && !defined(Q_OS_IOS)
|
||||
qml_window->setHeight(1200);
|
||||
qml_window->setWidth(800);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue