Make helper method isIrrelevant operate on AbstractClient
This commit is contained in:
parent
7ffc742a69
commit
7a85ee5309
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue