GUI: Remove message box when saving results even though there are no results, to prevent problems with autosave

This commit is contained in:
Daniel Marjamäki 2020-07-13 12:31:59 +02:00
parent 4465d033f6
commit 9ff8adcc40
1 changed files with 0 additions and 7 deletions

View File

@ -171,13 +171,6 @@ void ResultsView::updateFromOldReport(const QString &filename) const
void ResultsView::save(const QString &filename, Report::Type type) const
{
if (!hasResults()) {
QMessageBox msgBox;
msgBox.setText(tr("No errors found, nothing to save."));
msgBox.setIcon(QMessageBox::Critical);
msgBox.exec();
}
Report *report = nullptr;
switch (type) {