Make helper method isIrrelevant operate on AbstractClient

This commit is contained in:
Martin Gräßlin 2015-03-12 10:44:34 +01:00
parent 7ffc742a69
commit 7a85ee5309

View file

@ -168,7 +168,7 @@ void Placement::placeAtRandom(Client* c, const QRect& area, Policy /*next*/)
} }
// TODO: one day, there'll be C++11 ... // 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) if (!client)
return true; return true;