From 7a85ee5309850171b9a7c0b10b157898c7bb1368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 12 Mar 2015 10:44:34 +0100 Subject: [PATCH] Make helper method isIrrelevant operate on AbstractClient --- placement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/placement.cpp b/placement.cpp index 722e782d38..5293be0704 100644 --- a/placement.cpp +++ b/placement.cpp @@ -168,7 +168,7 @@ void Placement::placeAtRandom(Client* c, const QRect& area, Policy /*next*/) } // TODO: one day, there'll be C++11 ... -static inline bool isIrrelevant(const Client *client, const Client *regarding, int desktop) +static inline bool isIrrelevant(const AbstractClient *client, const AbstractClient *regarding, int desktop) { if (!client) return true;