AppletConfig: Use correct icon state for category icons
ClosedPublic

Authored by drosca on Jan 2 2017, 10:53 AM.

Details

Summary

QIcon::Selected should only be used when current item && active focus.

Test Plan

It now display same icon states as QWidget counterpart

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
drosca updated this revision to Diff 9602.Jan 2 2017, 10:53 AM
drosca retitled this revision from to AppletConfig: Use correct icon state for category icons.
drosca updated this object.
drosca edited the test plan for this revision. (Show Details)
drosca added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptJan 2 2017, 10:53 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Jan 3 2017, 12:58 PM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Jan 3 2017, 12:58 PM
This revision was automatically updated to reflect the committed changes.