summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r--qt-mobile/qml/ThemeTest.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-mobile/qml/ThemeTest.qml b/qt-mobile/qml/ThemeTest.qml
index ed6631e46..e30615da8 100644
--- a/qt-mobile/qml/ThemeTest.qml
+++ b/qt-mobile/qml/ThemeTest.qml
@@ -1,6 +1,7 @@
import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.1
+import QtQuick.Window 2.2
import org.kde.plasma.mobilecomponents 0.2 as MobileComponents
MobileComponents.Page {
@@ -61,7 +62,7 @@ MobileComponents.Page {
text: "Units.devicePixelRatio:"
}
MobileComponents.Label {
- text: MobileComponents.Units.devicePixelRatio
+ text: Screen.devicePixelRatio
}
MobileComponents.Heading {