D17542: Reset parentItem when mainItem changes
Marco Martin
noreply at phabricator.kde.org
Thu Jan 10 11:10:04 GMT 2019
mart accepted this revision.
mart added a comment.
This revision is now accepted and ready to land.
sometimes in the past i had problems about setting parentitem of an item to nullptr, due to all the scenegraph nodes of the item being destroyed and recreated...
somewhere else to do something like that i did have a dummy qquickitem invisible and reparented stuff to that instead of nullptr
this looks cleaner, so i would say go for it and if will cause problems, then go for the above workaround
REPOSITORY
R242 Plasma Framework (Library)
REVISION DETAIL
https://phabricator.kde.org/D17542
To: broulik, #plasma, mart
Cc: davidedmundson, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190110/4581c3e2/attachment.html>
More information about the Kde-frameworks-devel
mailing list