diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-09-13 23:20:32 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-09-21 15:13:10 -0700 |
commit | 7c3b8f32dbe5df74cc58103c6d4d54d51f25d6bc (patch) | |
tree | c4ddd1e73de354d90dd8cc6fb37465e09d314693 | |
parent | dab26137910d70865a7dc46da27eb5fc11822d16 (diff) | |
download | subsurface-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.qml | 2 |
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 |