From dd5f04d6aa70bd58d1fd8135517d7e40596bb212 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Fri, 9 Dec 2011 08:13:22 -0500 Subject: [PATCH] fix build on Windows, which apparently does not have the EffectWatcher --- theme.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/theme.cpp b/theme.cpp index 342731576..2b1d47a01 100644 --- a/theme.cpp +++ b/theme.cpp @@ -167,8 +167,10 @@ public: static const char *systemColorsTheme; static const char *themeRcFile; static PackageStructure::Ptr packageStructure; +#ifdef Q_WS_X11 static EffectWatcher *s_blurEffectWatcher; - +#endif + Theme *q; QString themeName; QList fallbackThemes; @@ -212,7 +214,9 @@ const char *ThemePrivate::themeRcFile = "plasmarc"; // the system colors theme is used to cache unthemed svgs with colorization needs // these svgs do not follow the theme's colors, but rather the system colors const char *ThemePrivate::systemColorsTheme = "internal-system-colors"; +#ifdef Q_WS_X11 EffectWatcher *ThemePrivate::s_blurEffectWatcher = 0; +#endif bool ThemePrivate::useCache() {