From 65696e1eb552f8c8bccdadff8a70384711d5be2a Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 5 Apr 2016 16:48:47 -0700 Subject: [PATCH] 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 --- subsurface-mobile-helper.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp index b4a54d11c..d8430a597 100644 --- a/subsurface-mobile-helper.cpp +++ b/subsurface-mobile-helper.cpp @@ -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