Do not delete twice mp_errorDialog.

The mp_errorDialog is created as a child of mp_mainWindow.
It means that is is deleted by mp_mainWindow when we delete it, so
we must not delete mp_errorDialog.

May fix #123
This commit is contained in:
Matthieu Gautier 2020-03-26 12:32:45 +01:00
parent 3c6a8be870
commit 985671211b

View File

@ -107,7 +107,6 @@ KiwixApp::~KiwixApp()
delete mp_downloader;
}
delete mp_manager;
delete mp_errorDialog;
delete mp_mainWindow;
}