Fixup deprecated use of QWeakPointer::data
ClosedPublic

Authored by davidedmundson on Nov 30 2019, 6:08 PM.

Details

Summary

At the point init is run we can be sure that our decoration->client()
pointer is valid, but we still need to get a strongRef for the duration
of our usage for Qt6

Test Plan

Compiles

Diff Detail

Repository
R129 Window Decoration Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Nov 30 2019, 6:08 PM
Restricted Application added a project: Plasma. · View Herald TranscriptNov 30 2019, 6:08 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Nov 30 2019, 6:08 PM
apol accepted this revision.Nov 30 2019, 7:07 PM
This revision is now accepted and ready to land.Nov 30 2019, 7:07 PM
This revision was automatically updated to reflect the committed changes.