Drop no longer needed cast to Client in TabGroup related code
Differential Revision: https://phabricator.kde.org/D12730
This commit is contained in:
parent
b6befb4ef8
commit
b19c3c1c8e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue