Commit 49cff212 authored by David Redondo's avatar David Redondo 🏎

Fix variable mixup

Summary:
Caused icons to be not longer recolored when changing the color scheme until an
application is started again

Test Plan: Change color scheme while having an application open, icons should change color correctly

Reviewers: #breeze, #plasma, ndavis

Reviewed By: #breeze, ndavis

Subscribers: ndavis, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D29012
parent 66d0b0b4
......@@ -1608,7 +1608,7 @@ namespace Breeze
if (activePalette == QPalette()) {
KIconLoader::global()->resetPalette();
} else {
KIconLoader::global()->setCustomPalette(palette);
KIconLoader::global()->setCustomPalette(activePalette);
}
}
return pixmap;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment