From 7c3b8f32dbe5df74cc58103c6d4d54d51f25d6bc Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 13 Sep 2019 23:20:32 +0200 Subject: 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 --- mobile-widgets/qml/main.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mobile-widgets/qml/main.qml') 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 -- cgit v1.2.3-70-g09d2