Fix warning on ScrollablePage
ClosedPublic

Authored by apol on Mon, Jan 13, 3:49 PM.

Details

Summary

At the moment we'll be going through all of the children objects and reassigning
the overlay as the parent. This is problematic because some objects won't allow
it, getting things like
ScrollablePage.qml:189: Error: Cannot assign QObject* to Action_QMLTYPE_11*

This patch changes it so only Items are reparented

Test Plan

Don't get the warnings anymore

Diff Detail

Repository
R169 Kirigami
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol created this revision.Mon, Jan 13, 3:49 PM
Restricted Application added a project: Kirigami. · View Herald TranscriptMon, Jan 13, 3:49 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol requested review of this revision.Mon, Jan 13, 3:49 PM
mart accepted this revision.Mon, Jan 13, 3:51 PM
This revision is now accepted and ready to land.Mon, Jan 13, 3:51 PM
This revision was automatically updated to reflect the committed changes.