D23988: [Bluez-Qt] Port away from deprecated QSharedPointer::data() method.
David Faure
noreply at phabricator.kde.org
Mon Sep 16 13:33:42 BST 2019
dfaure created this revision.
dfaure added a reviewer: drosca.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
dfaure requested review of this revision.
REVISION SUMMARY
I did this the lazy way (s/data()/lock()/) because apparently this
is just the q pointer being weak to avoid a cyclic reference,
and the Device always holds a ref to q, so it's never null.
(and no multithreaded usage here)
TEST PLAN
make && ctest
REPOSITORY
R269 BluezQt
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D23988
AFFECTED FILES
src/adapter_p.cpp
src/device_p.cpp
src/macros.h
src/mediaplayer_p.cpp
src/mediatransport_p.cpp
src/obextransfer.cpp
To: dfaure, drosca
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190916/451d0cb8/attachment.html>
More information about the Kde-frameworks-devel
mailing list