GUI: Fix bug that GUI didn't close the report file.

This commit is contained in:
Kimmo Varis 2009-07-31 22:19:21 +03:00
parent 2fb3b187f0
commit f11d34c109
1 changed files with 2 additions and 0 deletions

View File

@ -167,6 +167,8 @@ void ResultsView::Save(const QString &filename, Report::Type type)
msgBox.setIcon(QMessageBox::Critical); msgBox.setIcon(QMessageBox::Critical);
msgBox.exec(); msgBox.exec();
} }
delete report;
report = NULL;
} }
else else
{ {