diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-11-18 23:47:00 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-19 07:55:00 -0800 |
commit | daf8f36dd43d23f25fea27d8191d5ce6e28db276 (patch) | |
tree | 4bd2c05a2dcec441af41c9f91f6c5788ac8b9622 /qt-mobile | |
parent | f390fa0bb860ce029bcd3d2065fc06206d48fbfe (diff) | |
download | subsurface-daf8f36dd43d23f25fea27d8191d5ce6e28db276.tar.gz |
main.qml: fix crash on native Win32 desktop
Testing the mobile application on Win32 desktop results
in a crash.
Using ApplicationWindow for some reason makes the executable
enter an inifinity loop on startup until it runs out of RAM.
The output is:
setGeometryDp: Unable to set geometry 160x1200+720+426 on ApplicationWindow_
QMLTYPE_12_QML_111/''. Resulting geometry: 160x885+720+426 (frame: 4, 23, 4,
4, custom margin: 0, 0, 0, 0, minimum size: 0x47, maximum size: 16777215x
16777215).
To fix the crash use "Window" instead of "ApplicationWindow".
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
ACKed-by: Sebastian Kügler <sebas@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qml/main.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml index f28a5795f..c3117b9d5 100644 --- a/qt-mobile/qml/main.qml +++ b/qt-mobile/qml/main.qml @@ -9,7 +9,7 @@ import org.subsurfacedivelog.mobile 1.0 import "qrc:/qml/theme" as Theme -ApplicationWindow { +Window { title: qsTr("Subsurface mobile") property bool fullscreen: true property alias messageText: message.text |