Less warnings please

CCMAIL: a.arlt@stud.uni-heidelberg.de
This commit is contained in:
Martin Gräßlin 2011-07-07 18:31:18 +02:00
parent 039c025bfb
commit 4c2629477c

View file

@ -747,6 +747,8 @@ void EffectsHandlerImpl::setTabBoxWindow(EffectWindow* w)
Workspace::self()->tabBox()->setCurrentClient(c);
}
}
#else
Q_UNUSED(w)
#endif
}
@ -756,6 +758,8 @@ void EffectsHandlerImpl::setTabBoxDesktop(int desktop)
if (Workspace::self()->hasTabBox()) {
Workspace::self()->tabBox()->setCurrentDesktop(desktop);
}
#else
Q_UNUSED(desktop)
#endif
}