From ece6aae05d2d082c9f94a465483e8500dc65b3c9 Mon Sep 17 00:00:00 2001 From: Till Adam Date: Sat, 30 Jul 2011 12:52:18 +0200 Subject: [PATCH] EffectWatcher only exists on X11. --- theme.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/theme.cpp b/theme.cpp index 7b5e39803..b66768062 100644 --- a/theme.cpp +++ b/theme.cpp @@ -99,10 +99,12 @@ public: if (QPixmap::defaultDepth() > 8) { QObject::connect(KWindowSystem::self(), SIGNAL(compositingChanged(bool)), q, SLOT(compositingChanged(bool))); +#ifdef Q_WS_X11 //watch for blur effect property changes as well effectWatcher = 0; effectWatcher = new EffectWatcher("_KDE_NET_WM_BLUR_BEHIND_REGION"); QObject::connect(effectWatcher, SIGNAL(blurBehindChanged(bool)), q, SLOT(blurBehindChanged(bool))); +#endif } saveTimer = new QTimer(q);