Fix warning on ScrollablePage

Authored by apol on Jan 13 2020, 3:48 PM.

Description

Fix warning on ScrollablePage

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

Reviewers: Kirigami, mart

Reviewed By: Kirigami, mart

Subscribers: plasma-devel

Tags: Kirigami

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

Details

Committed
apolJan 13 2020, 3:58 PM
Reviewer
Kirigami
Differential Revision
D26632: Fix warning on ScrollablePage
Parents
R169:ec3b2d53d853: Fix warning
Branches
Unknown
Tags
Unknown