diff --git a/effects/CMakeLists.txt b/effects/CMakeLists.txt index 9567bfd386..83e1f234ca 100644 --- a/effects/CMakeLists.txt +++ b/effects/CMakeLists.txt @@ -19,7 +19,6 @@ SET(kwin4_effect_builtins_sources fade.cpp fallapart.cpp flame.cpp - magnifier.cpp maketransparent.cpp minimizeanimation.cpp presentwindows.cpp @@ -40,10 +39,12 @@ SET(kwin4_effect_tests_sources if(OPENGL_FOUND) SET(kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources} + magnifier.cpp shadow.cpp wavywindows.cpp ) install( FILES + magnifier.desktop shadow.desktop wavywindows.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin/effects ) diff --git a/effects/demo_taskbarthumbnail.h b/effects/demo_taskbarthumbnail.h index 335f7a33e1..24d7004f7b 100644 --- a/effects/demo_taskbarthumbnail.h +++ b/effects/demo_taskbarthumbnail.h @@ -34,7 +34,7 @@ class TaskbarThumbnailEffect virtual void prePaintScreen( int* mask, QRegion* region, int time ); virtual void prePaintWindow( EffectWindow* w, int* mask, QRegion* paint, QRegion* clip, int time ); virtual void postPaintScreen(); - void cursorMoved( const QPoint& pos, Qt::MouseButtons buttons ); + virtual void cursorMoved( const QPoint& pos, Qt::MouseButtons buttons ); protected: QRect getThumbnailPosition( EffectWindow* c, int* space ) const;