ivan added a comment.
Using a shared pointer seems like a pessimization. Could this be done with std::unique_ptr? REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D17039 To: kfunk, davidedmundson, ivan Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart