Delete noop code

Summary:
checkWorkspacePosition has a guard again desktop clients right at the
top, so the for loop is basically a no-op.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D20777
This commit is contained in:
Vlad Zagorodniy 2019-04-24 01:26:09 +03:00
parent 70b9c3651a
commit b37743d8b1

View file

@ -325,10 +325,6 @@ void Workspace::updateClientArea(bool force)
it != m_allClients.constEnd();
++it)
(*it)->checkWorkspacePosition();
for (ClientList::ConstIterator it = desktops.constBegin();
it != desktops.constEnd();
++it)
(*it)->checkWorkspacePosition();
oldrestrictedmovearea.clear(); // reset, no longer valid or needed
}