mainwindow: Fix clearing out of clients

This commit is contained in:
Colin Guthrie 2010-04-22 00:08:39 +01:00
parent 94add670c4
commit 870c3ddb2e
1 changed files with 1 additions and 1 deletions

View File

@ -983,7 +983,7 @@ void MainWindow::removeAllWidgets() {
for (std::map<uint32_t, CardWidget*>::iterator it = cardWidgets.begin(); it != cardWidgets.end(); ++it)
removeCard(it->first);
for (std::map<uint32_t, char*>::iterator it = clientNames.begin(); it != clientNames.end(); ++it)
removeSourceOutput(it->first);
removeClient(it->first);
deleteEventRoleWidget();
}