TabBox::shadeActivate operates on AbstractClient
This commit is contained in:
parent
9457b362c1
commit
7d5236cac8
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue