broulik created this revision. broulik added reviewers: Plasma, mart. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. broulik requested review of this revision.
REVISION SUMMARY Otherwise `colorScope` doesn't attach to things like `Plasma.Svg`. Also remove superfluous cast as `parentItem()` returns a `QQuickItem *`. TEST PLAN - Battery on lock screen gets proper complementary color group again - didn't actually test the applet background stuff that this change was originally made for REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D25887 AFFECTED FILES src/declarativeimports/core/colorscope.cpp To: broulik, #plasma, mart Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns