GUI: Add icons for error messages of failed report saving.

This commit is contained in:
Kimmo Varis 2009-07-06 12:37:54 +03:00
parent 3884b4f997
commit c8493e31ef
1 changed files with 3 additions and 0 deletions

View File

@ -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();
}
}