Make it compile against qt5.14 without deprecated method
ClosedPublic

Authored by mlaurent on Dec 3 2019, 7:01 AM.

Details

Summary

Compile against 5.14 without deprecated method

Diff Detail

Repository
R858 Qt Quick Controls 2: Desktop Style
Branch
fix_compile_qt5.14 (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 19471
Build 19489: arc lint + arc unit
mlaurent created this revision.Dec 3 2019, 7:01 AM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 3 2019, 7:01 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mlaurent requested review of this revision.Dec 3 2019, 7:01 AM
apol added inline comments.Dec 3 2019, 12:40 PM
plugin/kquickstyleitem.cpp
109

Maybe use org.kde.qqc2desktopstyle.private which we are already using?

Also shouldn't we be registering the types and the plugin class rather than on every instance of the type?

yep it seems more logical

mlaurent updated this revision to Diff 70875.Dec 4 2019, 6:36 AM

Fix comment

mlaurent updated this revision to Diff 70876.Dec 4 2019, 6:40 AM

Forgot to commit it

apol accepted this revision.Dec 4 2019, 12:17 PM
This revision is now accepted and ready to land.Dec 4 2019, 12:17 PM
This revision was automatically updated to reflect the committed changes.