Merge commit '2c7b1cf76206541fbebeeb19ab22a928895f1819'

This commit is contained in:
Jaime Torres 2018-01-22 20:19:19 +01:00
commit 567dba7d8e

View file

@ -726,7 +726,7 @@ bool Client::hasTransientInternal(const Client* cl, bool indirect, ConstClientLi
for (auto it = transients().constBegin();
it != transients().constEnd();
++it) {
Client *c = dynamic_cast<Client *>(*it);
const Client *c = qobject_cast<const Client *>(*it);
if (!c) {
continue;
}