From f11d34c1092b472d95c679adac9ec7bce151c80b Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Fri, 31 Jul 2009 22:19:21 +0300 Subject: [PATCH] GUI: Fix bug that GUI didn't close the report file. --- gui/resultsview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/resultsview.cpp b/gui/resultsview.cpp index b25dd1a9f..27735bc15 100644 --- a/gui/resultsview.cpp +++ b/gui/resultsview.cpp @@ -167,6 +167,8 @@ void ResultsView::Save(const QString &filename, Report::Type type) msgBox.setIcon(QMessageBox::Critical); msgBox.exec(); } + delete report; + report = NULL; } else {