Drop no longer needed cast to Client in TabGroup related code
Differential Revision: https://phabricator.kde.org/D12730icc-effect-5.14.5
parent
b6befb4ef8
commit
b19c3c1c8e
|
@ -389,7 +389,7 @@ void Workspace::takeActivity(AbstractClient* c, ActivityFlags flags)
|
|||
flags &= ~ActivityFocus;
|
||||
}
|
||||
if (c->tabGroup() && c->tabGroup()->current() != c)
|
||||
c->tabGroup()->setCurrent(dynamic_cast<Client*>(c));
|
||||
c->tabGroup()->setCurrent(c);
|
||||
if (!c->isShown(true)) { // shouldn't happen, call activateClient() if needed
|
||||
qCWarning(KWIN_CORE) << "takeActivity: not shown" ;
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue