Add missing disconnects on MainWindows

This commit is contained in:
Maschell 2020-02-21 14:26:17 +01:00
parent 052a6e8cb6
commit 933a97f2f3

View File

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