D26267: Replace deprecated QWeakPointer::data() with .toStrongRef().data()
Noah Davis
noreply at phabricator.kde.org
Sun Dec 29 07:20:17 GMT 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191229/d7225fbf/attachment.html>
More information about the Plasma-devel
mailing list