File 0001-Emit-PaletteChanged-when-setting-colors-from-look-an.patch of Package plasma5-desktop

From ced50bfc49e643b2c0dcf357330d5233d531ef54 Mon Sep 17 00:00:00 2001
From: David Rosca <nowrep@gmail.com>
Date: Mon, 29 Feb 2016 23:59:55 +0100
Subject: [PATCH 1/1] Emit PaletteChanged when setting colors from look and
 feel package

Summary:
Fixes updating palette in running applications.

BUG: 359924

Reviewers: #plasma, mart

Reviewed By: mart

Subscribers: graesslin, plasma-devel

Projects: #plasma

Differential Revision: https://phabricator.kde.org/D1045

(cherry picked from commit ec5e86a51764e2540ac3d01e589cceafe2c7d5a1)
---
 kcms/lookandfeel/kcm.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kcms/lookandfeel/kcm.cpp b/kcms/lookandfeel/kcm.cpp
index 04d5ec1..8f4d62b 100644
--- a/kcms/lookandfeel/kcm.cpp
+++ b/kcms/lookandfeel/kcm.cpp
@@ -338,7 +338,8 @@ void KCMLookandFeel::setColors(const QString &scheme, const QString &colorFile)
       KConfigGroup cg(conf, grp);
       KConfigGroup cg2(&m_config, grp);
       cg.copyTo(&cg2);
-  }
+    }
+    KGlobalSettings::self()->emitChange(KGlobalSettings::PaletteChanged);
 }
 
 void KCMLookandFeel::setIcons(const QString &theme)
-- 
2.6.2