[ColorScope] Work with plain QObjects again

Authored by broulik on Dec 11 2019, 3:02 PM.

Description

[ColorScope] Work with plain QObjects again

Otherwise colorScope doesn't attach to things like Plasma.Svg.
Also remove superfluous cast as parentItem() returns a QQuickItem *.

Differential Revision: https://phabricator.kde.org/D25887

Details

Committed
broulikDec 11 2019, 3:02 PM
Differential Revision
D25887: [ColorScope] Work with plain QObjects again
Parents
R242:e44cab6ab55b: [Breeze Desktop Theme] Add monochrome user-desktop icon
Branches
Unknown
Tags
Unknown