Fix warning on ScrollablePage
ClosedPublic

Authored by apol on Jan 13 2020, 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.Jan 13 2020, 3:49 PM
Restricted Application added a project: Kirigami. · View Herald TranscriptJan 13 2020, 3:49 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol requested review of this revision.Jan 13 2020, 3:49 PM
mart accepted this revision.Jan 13 2020, 3:51 PM
This revision is now accepted and ready to land.Jan 13 2020, 3:51 PM
This revision was automatically updated to reflect the committed changes.