mainwindow: Fix clearing out of clients
This commit is contained in:
parent
94add670c4
commit
870c3ddb2e
|
@ -983,7 +983,7 @@ void MainWindow::removeAllWidgets() {
|
||||||
for (std::map<uint32_t, CardWidget*>::iterator it = cardWidgets.begin(); it != cardWidgets.end(); ++it)
|
for (std::map<uint32_t, CardWidget*>::iterator it = cardWidgets.begin(); it != cardWidgets.end(); ++it)
|
||||||
removeCard(it->first);
|
removeCard(it->first);
|
||||||
for (std::map<uint32_t, char*>::iterator it = clientNames.begin(); it != clientNames.end(); ++it)
|
for (std::map<uint32_t, char*>::iterator it = clientNames.begin(); it != clientNames.end(); ++it)
|
||||||
removeSourceOutput(it->first);
|
removeClient(it->first);
|
||||||
deleteEventRoleWidget();
|
deleteEventRoleWidget();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue