From afc4cd7b5da990d26c2164e14b1aed7876b8b38a Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Tue, 10 Feb 2015 21:41:02 +0100 Subject: [PATCH] Make rootItem a QtObject property PlasmaCore.Dialog is not a QQuickItem but a QQuickWindow so a property Item does not work, didn't think about that. QtObject can take any QObject subclass. Fixes the not-on-the-lockscreen OSD --- lookandfeel/contents/osd/OsdItem.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lookandfeel/contents/osd/OsdItem.qml b/lookandfeel/contents/osd/OsdItem.qml index 92261b6fb..f4a55806a 100644 --- a/lookandfeel/contents/osd/OsdItem.qml +++ b/lookandfeel/contents/osd/OsdItem.qml @@ -21,7 +21,7 @@ import org.kde.plasma.components 2.0 as PlasmaComponents import org.kde.plasma.extras 2.0 as PlasmaExtra Item { - property Item rootItem + property QtObject rootItem height: units.gridUnit * 15 width: height