aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-12 10:42:23 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-12 10:52:15 -0700
commit4088f9f652f447a65f5af00f0712f38bd97b4172 (patch)
tree358695135e1e2a32d182a1bd26f36e5f1114e14f /qt-mobile
parent93d348fa592ecbd20d3ce1de1fade1ca4654a899 (diff)
downloadsubsurface-4088f9f652f447a65f5af00f0712f38bd97b4172.tar.gz
QML UI: set window size on desktop devices
On Android the app figures out the size by itself. Also change the name to match our naming scheme (Subsurface mobile for the QML UI). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/main.qml5
1 files changed, 3 insertions, 2 deletions
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