diff --git a/effects/boxswitch.cpp b/effects/boxswitch.cpp index e24967d03c..7d68cf078b 100644 --- a/effects/boxswitch.cpp +++ b/effects/boxswitch.cpp @@ -50,11 +50,6 @@ BoxSwitchEffect::~BoxSwitchEffect() { } -void BoxSwitchEffect::prePaintScreen( ScreenPrePaintData& data, int time ) - { - effects->prePaintScreen( data, time ); - } - void BoxSwitchEffect::prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int time ) { if( mActivated ) diff --git a/effects/boxswitch.h b/effects/boxswitch.h index be9ca6598c..08064608cc 100644 --- a/effects/boxswitch.h +++ b/effects/boxswitch.h @@ -36,7 +36,6 @@ class BoxSwitchEffect BoxSwitchEffect(); ~BoxSwitchEffect(); - virtual void prePaintScreen( ScreenPrePaintData& data, int time ); virtual void paintScreen( int mask, QRegion region, ScreenPaintData& data ); virtual void prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int time ); virtual void paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data );