GUI: Add icons for error messages of failed report saving.
This commit is contained in:
parent
3884b4f997
commit
c8493e31ef
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue