David Redondo b7fa6e0e91 Try to apply the colorscheme of the current theme to QIcons
Summary:
Before icons loaded internally with QIcon::fromTheme were being colored with the
colors from the current global color scheme instead of the ones from the current
Plasma Theme. Leading to visual bugs when the two differ. This happened because
KIconLoader uses the global color scheme by default.
A prominent case is the notification send by the network plasmoid when one
successfully connected to a wireless network. It sets the icon
"network-wireless-on" which is not included in Breeze icons (but is included in
Breeze Plasma Theme). If the current icon theme is indeed Breeze, IconItem
resorts to using QIcon::fromTheme and we end up with a wrong colored
"network-wireless" icon.

BUG: 417780

Test Plan:
{F8125752}

{F8125753}

Reviewers: #plasma, cblack, ngraham, mart

Reviewed By: #plasma, cblack, ngraham, mart

Subscribers: mart, wbauer, cblack, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D27589
2020-03-02 11:55:35 +01:00
..
2018-05-23 08:05:40 +02:00
2018-11-30 07:58:34 +01:00
2019-10-29 11:29:12 +01:00
2019-10-29 11:29:12 +01:00
2018-04-13 09:05:26 +02:00
2019-09-08 23:33:09 +02:00
2018-04-22 14:13:37 +02:00
2019-11-22 16:18:54 +01:00
2018-04-13 09:05:26 +02:00
2019-09-25 15:55:17 +02:00
2019-09-25 15:55:17 +02:00