summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-gui.cpp4
-rw-r--r--qt-mobile/main.qml5
2 files changed, 7 insertions, 2 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp
index a3a61e408..9c4d2ba44 100644
--- a/qt-gui.cpp
+++ b/qt-gui.cpp
@@ -47,6 +47,10 @@ void run_ui()
QObject *mainWindow = engine.rootObjects().value(0);
QQuickWindow *qml_window = qobject_cast<QQuickWindow *>(mainWindow);
qml_window->setIcon(QIcon(":/subsurface-mobile-icon"));
+#if !defined(Q_OS_ANDROID)
+ qml_window->setHeight(1200);
+ qml_window->setWidth(800);
+#endif
qml_window->show();
#else
window->show();
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml
index 85fae51e4..42e17945f 100644
--- a/qt-mobile/main.qml
+++ b/qt-mobile/main.qml
@@ -6,8 +6,9 @@ import QtQuick.Layouts 1.1
import org.subsurfacedivelog.mobile 1.0
ApplicationWindow {
- title: qsTr("Subsurface")
- width: 500;
+ title: qsTr("Subsurface mobile")
+ property bool fullscreen: true
+ visible: true
QMLManager {
id: manager