Add missing disconnects on MainWindows

This commit is contained in:
Maschell 2020-02-21 14:26:17 +01:00
parent 052a6e8cb6
commit 933a97f2f3
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ MainWindow::MainWindow(int32_t w, int32_t h)
MainWindow::~MainWindow() {
gameList.titleListChanged.disconnect(this);
gameList.titleUpdated.disconnect(this);
gameList.titleAdded.disconnect(this);
while(!tvElements.empty()) {
delete tvElements[0];
remove(tvElements[0]);