Port away from deprecated KIconLoader::IconSize
ClosedPublic

Authored by iasensio on Feb 28 2020, 6:59 PM.

Details

Summary

Use QStyle::pixelMetrics instead

Test Plan

No compiler warning
Icon still happily bounces on application launch

Diff Detail

Repository
R108 KWin
Branch
fix_deprecated/iconloader
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 23070
Build 23088: arc lint + arc unit
iasensio created this revision.Feb 28 2020, 6:59 PM
Restricted Application added a project: KWin. · View Herald TranscriptFeb 28 2020, 6:59 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
iasensio requested review of this revision.Feb 28 2020, 6:59 PM
iasensio updated this revision to Diff 76655.Feb 28 2020, 7:07 PM
  • Remove also KF5::IconThemes dependency
iasensio updated this revision to Diff 76656.Feb 28 2020, 7:09 PM
  • Remove extra semicolon
davidedmundson accepted this revision.Feb 28 2020, 10:15 PM
This revision is now accepted and ready to land.Feb 28 2020, 10:15 PM
This revision was automatically updated to reflect the committed changes.