From a1dce4bb86ca0d9b6295526082ff4c23a51e4f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Sun, 9 Mar 2014 23:50:21 +0100 Subject: [PATCH] Update theme on KWindowSystem::compositingChanged BUG:328651 --- src/plasma/private/theme_p.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plasma/private/theme_p.cpp b/src/plasma/private/theme_p.cpp index 5a74de55e..28353491f 100644 --- a/src/plasma/private/theme_p.cpp +++ b/src/plasma/private/theme_p.cpp @@ -99,6 +99,8 @@ ThemePrivate::ThemePrivate(QObject *parent) connect(KDirWatch::self(), &KDirWatch::dirty, this, &ThemePrivate::settingsFileChanged); // ... but also remove/recreate cycles, like KConfig does it connect(KDirWatch::self(), &KDirWatch::created, this, &ThemePrivate::settingsFileChanged); + + connect(KWindowSystem::self(), &KWindowSystem::compositingChanged, this, &ThemePrivate::compositingChanged); } ThemePrivate::~ThemePrivate()