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:
Dirk Hohndel 2016-04-05 16:48:47 -07:00
parent 8afdb665cd
commit 65696e1eb5

View file

@ -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