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
wilder-5.14
Kai Uwe Broulik 11 years ago
parent 3b23b7660b
commit afc4cd7b5d
  1. 2
      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

Loading…
Cancel
Save