summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-13 23:20:32 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-21 15:13:10 -0700
commit7c3b8f32dbe5df74cc58103c6d4d54d51f25d6bc (patch)
treec4ddd1e73de354d90dd8cc6fb37465e09d314693
parentdab26137910d70865a7dc46da27eb5fc11822d16 (diff)
downloadsubsurface-7c3b8f32dbe5df74cc58103c6d4d54d51f25d6bc.tar.gz
Mobile: dump the information QML has about the screen
Maybe this will allow us to customize things for certain devices? Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qml/main.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 6f5412658..354a38fe8 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -677,6 +677,8 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
Component.onCompleted: {
+ // try to see if we can detect certain device vendors through these properties
+ console.log("Running on " + Screen.manufacturer + " " + Screen.model + " " + Screen.name)
rootItem.visible = true
diveList.opacity = 1
rootItem.opacity = 1