ndavis created this revision. ndavis added reviewers: Breeze, Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. ndavis requested review of this revision.
REVISION SUMMARY As stated in https://doc.qt.io/qt-5/qweakpointer-obsolete.html : QWeakPointer::data() "Returns the value of the pointer being tracked by this QWeakPointer, without ensuring that it cannot get deleted. To have that guarantee, use toStrongRef(), which returns a QSharedPointer object." REPOSITORY R31 Breeze BRANCH replace-deprecated (branched from master) REVISION DETAIL https://phabricator.kde.org/D26267 AFFECTED FILES kdecoration/breezebutton.cpp kdecoration/breezedecoration.cpp kdecoration/breezedecoration.h kdecoration/breezesettingsprovider.cpp kdecoration/breezesizegrip.cpp To: ndavis, #breeze, #plasma Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart