From c8493e31ef621cc61511ffc4478f23506080b02e Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Mon, 6 Jul 2009 12:37:54 +0300 Subject: [PATCH] GUI: Add icons for error messages of failed report saving. --- gui/resultsview.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/resultsview.cpp b/gui/resultsview.cpp index 1366e4484..b25dd1a9f 100644 --- a/gui/resultsview.cpp +++ b/gui/resultsview.cpp @@ -137,6 +137,7 @@ void ResultsView::Save(const QString &filename, Report::Type type) { QMessageBox msgBox; msgBox.setText("No errors found, nothing to save."); + msgBox.setIcon(QMessageBox::Critical); msgBox.exec(); } @@ -163,6 +164,7 @@ void ResultsView::Save(const QString &filename, Report::Type type) { QMessageBox msgBox; msgBox.setText("Failed to save the report."); + msgBox.setIcon(QMessageBox::Critical); msgBox.exec(); } } @@ -170,6 +172,7 @@ void ResultsView::Save(const QString &filename, Report::Type type) { QMessageBox msgBox; msgBox.setText("Failed to save the report."); + msgBox.setIcon(QMessageBox::Critical); msgBox.exec(); } }