[Bluez-Qt] Port away from deprecated QSharedPointer::data() method.
ClosedPublic

Authored by dfaure on Sep 16 2019, 12:33 PM.

Details

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

Diff Detail

Repository
R269 BluezQt
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16622
Build 16640: arc lint + arc unit
dfaure created this revision.Sep 16 2019, 12:33 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptSep 16 2019, 12:33 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
dfaure requested review of this revision.Sep 16 2019, 12:33 PM
dfaure updated this revision to Diff 66213.Sep 16 2019, 12:35 PM

link to task

drosca accepted this revision.Sep 16 2019, 12:46 PM
This revision is now accepted and ready to land.Sep 16 2019, 12:46 PM
dfaure closed this revision.Sep 16 2019, 12:50 PM