From 7d5236cac879f3f065ae215d7a4cefc5e5ea6ad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 12 Mar 2015 12:26:01 +0100 Subject: [PATCH] TabBox::shadeActivate operates on AbstractClient --- tabbox/tabbox.cpp | 2 +- tabbox/tabbox.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tabbox/tabbox.cpp b/tabbox/tabbox.cpp index 3c6a460b63..f5da53b34c 100644 --- a/tabbox/tabbox.cpp +++ b/tabbox/tabbox.cpp @@ -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()) c->setShade(ShadeActivated); diff --git a/tabbox/tabbox.h b/tabbox/tabbox.h index c3cfaedda5..ed4fed1460 100644 --- a/tabbox/tabbox.h +++ b/tabbox/tabbox.h @@ -233,7 +233,7 @@ private: template void key(const char *actionName, Slot slot, const QKeySequence &shortcut = QKeySequence()); - void shadeActivate(Client *c); + void shadeActivate(AbstractClient *c); private Q_SLOTS: void reconfigure();