TabBox::shadeActivate operates on AbstractClient

This commit is contained in:
Martin Gräßlin 2015-03-12 12:26:01 +01:00
parent 9457b362c1
commit 7d5236cac8
2 changed files with 2 additions and 2 deletions

View file

@ -1120,7 +1120,7 @@ void TabBox::slotWalkBackThroughDesktopList()
} }
} }
void TabBox::shadeActivate(Client *c) void TabBox::shadeActivate(AbstractClient *c)
{ {
if ((c->shadeMode() == ShadeNormal || c->shadeMode() == ShadeHover) && options->isShadeHover()) if ((c->shadeMode() == ShadeNormal || c->shadeMode() == ShadeHover) && options->isShadeHover())
c->setShade(ShadeActivated); c->setShade(ShadeActivated);

View file

@ -233,7 +233,7 @@ private:
template <typename Slot> template <typename Slot>
void key(const char *actionName, Slot slot, const QKeySequence &shortcut = QKeySequence()); void key(const char *actionName, Slot slot, const QKeySequence &shortcut = QKeySequence());
void shadeActivate(Client *c); void shadeActivate(AbstractClient *c);
private Q_SLOTS: private Q_SLOTS:
void reconfigure(); void reconfigure();