Stop including deleted windows in Workspace::forEachToplevel
This commit is contained in:
parent
7f619e7770
commit
497ba4a62a
1 changed files with 0 additions and 1 deletions
|
@ -2001,7 +2001,6 @@ Window *Workspace::findToplevel(const QUuid &internalId) const
|
||||||
void Workspace::forEachToplevel(std::function<void(Window *)> func)
|
void Workspace::forEachToplevel(std::function<void(Window *)> func)
|
||||||
{
|
{
|
||||||
std::for_each(m_allClients.constBegin(), m_allClients.constEnd(), func);
|
std::for_each(m_allClients.constBegin(), m_allClients.constEnd(), func);
|
||||||
std::for_each(deleted.constBegin(), deleted.constEnd(), func);
|
|
||||||
std::for_each(m_unmanaged.constBegin(), m_unmanaged.constEnd(), func);
|
std::for_each(m_unmanaged.constBegin(), m_unmanaged.constEnd(), func);
|
||||||
std::for_each(m_internalWindows.constBegin(), m_internalWindows.constEnd(), func);
|
std::for_each(m_internalWindows.constBegin(), m_internalWindows.constEnd(), func);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue