aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-helper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-05 16:48:47 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-05 16:49:29 -0700
commit65696e1eb552f8c8bccdadff8a70384711d5be2a (patch)
tree40e26fb35ee0c976dbd6215f6a2be3d5ff37845c /subsurface-mobile-helper.cpp
parent8afdb665cde5e06ff42b3f406f637d3ca44f20e2 (diff)
downloadsubsurface-65696e1eb552f8c8bccdadff8a70384711d5be2a.tar.gz
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>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
-rw-r--r--subsurface-mobile-helper.cpp3
1 files changed, 1 insertions, 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