Size according to specified icon width and height
ClosedPublic

Authored by astippich on Nov 4 2018, 9:55 AM.

Details

Summary

The icon.width and icon.height property were
not used before for the icon

Diff Detail

Repository
R858 Qt Quick Controls 2: Desktop Style
Branch
icon_size
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 4537
Build 4555: arc lint + arc unit
astippich created this revision.Nov 4 2018, 9:55 AM
Restricted Application added a project: Plasma. · View Herald TranscriptNov 4 2018, 9:55 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
astippich requested review of this revision.Nov 4 2018, 9:55 AM
apol added a comment.Nov 5 2018, 12:22 AM

+1 overall

plugin/kquickstyleitem.cpp
193

Can we be a bit smarter here? If the size is present maybe we wouldn't have to check the pixelMetric.

astippich updated this revision to Diff 44936.Nov 5 2018, 8:42 PM
  • only query pixelMetric on demand
mart accepted this revision.Nov 12 2018, 10:43 AM
This revision is now accepted and ready to land.Nov 12 2018, 10:43 AM
This revision was automatically updated to reflect the committed changes.