summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/ThemeTest.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/ThemeTest.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 b099b5722..c0916aea0 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.kirigami 1.0 as Kirigami
Kirigami.Page {
@@ -62,7 +63,7 @@ Kirigami.Page {
text: "Units.devicePixelRatio:"
}
Kirigami.Label {
- text: Kirigami.Units.devicePixelRatio
+ text: Screen.devicePixelRatio
}
Kirigami.Heading {