Fixup deprecated use of QWeakPointer::data
ClosedPublic

Authored by davidedmundson on Sat, Nov 30, 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.Sat, Nov 30, 6:08 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSat, Nov 30, 6:08 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Sat, Nov 30, 6:08 PM
apol accepted this revision.Sat, Nov 30, 7:07 PM
This revision is now accepted and ready to land.Sat, Nov 30, 7:07 PM
This revision was automatically updated to reflect the committed changes.