diff --git a/effects/slideback/slideback.cpp b/effects/slideback/slideback.cpp index 5377025582..8df2c4db30 100644 --- a/effects/slideback/slideback.cpp +++ b/effects/slideback/slideback.cpp @@ -38,6 +38,7 @@ SlideBackEffect::SlideBackEffect() connect(effects, SIGNAL(windowDeleted(EffectWindow*)), this, SLOT(slotWindowDeleted(EffectWindow*))); connect(effects, SIGNAL(windowUnminimized(EffectWindow*)), this, SLOT(slotWindowUnminimized(EffectWindow*))); connect(effects, SIGNAL(clientGroupItemSwitched(EffectWindow*,EffectWindow*)), this, SLOT(slotClientGroupItemSwitched(EffectWindow*,EffectWindow*))); + connect(effects, SIGNAL(tabBoxClosed()), this, SLOT(slotTabBoxClosed())); } static inline bool windowsShareDesktop(EffectWindow *w1, EffectWindow *w2) @@ -316,7 +317,7 @@ void SlideBackEffect::slotClientGroupItemSwitched(EffectWindow* from, EffectWind clientItemHidden = from; } -void SlideBackEffect::tabBoxClosed() +void SlideBackEffect::slotTabBoxClosed() { disabled = true; } diff --git a/effects/slideback/slideback.h b/effects/slideback/slideback.h index f48469b502..4c417ef1e7 100644 --- a/effects/slideback/slideback.h +++ b/effects/slideback/slideback.h @@ -41,14 +41,13 @@ public: virtual void prePaintScreen(ScreenPrePaintData &data, int time); virtual void postPaintScreen(); - virtual void tabBoxClosed(); - public Q_SLOTS: void slotWindowAdded(EffectWindow *w); void slotWindowActivated(EffectWindow *w); void slotWindowDeleted(EffectWindow *w); void slotWindowUnminimized(EffectWindow *w); void slotClientGroupItemSwitched(EffectWindow* from, EffectWindow* to); + void slotTabBoxClosed(); private: