Commit a4c90497 authored by Hugo Pereira Da Costa's avatar Hugo Pereira Da Costa
Browse files

Fixed kde4 compilation.

Fixed warning about blurhelper initialization.
parent e5c0824a
......@@ -128,7 +128,6 @@ set(breeze_PART_SRCS
animations/breezewidgetstateengine.cpp
animations/breezewidgetstatedata.cpp
debug/breezewidgetexplorer.cpp
breezeblurhelper.cpp
breezeaddeventfilter.cpp
breezeframeshadow.cpp
breezehelper.cpp
......@@ -143,6 +142,13 @@ set(breeze_PART_SRCS
breezewindowmanager.cpp
)
if(NOT BREEZE_USE_KDE4)
set(breeze_PART_SRCS
${breeze_PART_SRCS}
breezeblurhelper.cpp
)
endif()
if(BREEZE_USE_KDE4)
kde4_add_kcfg_files(breeze_PART_SRCS breezestyleconfigdata.kcfgc)
......
......@@ -153,12 +153,16 @@ namespace Breeze
, _helper( new Helper( "breeze" ) )
#else
, _helper( new Helper( StyleConfigData::self()->sharedConfig() ) )
, _blurHelper( new BlurHelper( this ) )
#endif
, _shadowHelper( new ShadowHelper( this, *_helper ) )
, _animations( new Animations( this ) )
, _mnemonics( new Mnemonics( this ) )
#if !BREEZE_USE_KDE4
, _blurHelper( new BlurHelper( this ) )
#endif
, _windowManager( new WindowManager( this ) )
, _frameShadowFactory( new FrameShadowFactory( this ) )
, _mdiWindowShadowFactory( new MdiWindowShadowFactory( this ) )
......
......@@ -66,7 +66,9 @@ namespace Breeze
class SplitterFactory;
class WidgetExplorer;
class WindowManager;
#if !BREEZE_USE_KDE4
class BlurHelper;
#endif
//* convenience typedef for base class
#if BREEZE_USE_KDE4
......@@ -498,8 +500,10 @@ namespace Breeze
//* keyboard accelerators
Mnemonics* _mnemonics = nullptr;
#if !BREEZE_USE_KDE4
//* blur helper
BlurHelper* _blurHelper = nullptr;
#endif
//* window manager
WindowManager* _windowManager = nullptr;
......
Supports Markdown
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