reverted my change 7852b7e8
This commit is contained in:
parent
f410db6499
commit
7753258eca
|
@ -5,4 +5,4 @@ compiler:
|
||||||
script:
|
script:
|
||||||
- make test
|
- make test
|
||||||
- $CXX -o cppcheck -O2 cli/*.cpp lib/*.cpp -Ilib
|
- $CXX -o cppcheck -O2 cli/*.cpp lib/*.cpp -Ilib
|
||||||
- ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppress=duplicateBranch --suppress=stlIfStrFind -q cli gui lib -igui/test
|
- ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppress=unreadVariable --suppress=duplicateBranch --suppress=stlIfStrFind -q cli gui lib -igui/test
|
||||||
|
|
|
@ -171,6 +171,7 @@ void ResultsView::Save(const QString &filename, Report::Type type)
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
}
|
}
|
||||||
delete report;
|
delete report;
|
||||||
|
report = NULL;
|
||||||
} else {
|
} else {
|
||||||
QMessageBox msgBox;
|
QMessageBox msgBox;
|
||||||
msgBox.setText(tr("Failed to save the report."));
|
msgBox.setText(tr("Failed to save the report."));
|
||||||
|
@ -288,6 +289,7 @@ void ResultsView::ReadErrorsXml(const QString &filename)
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
}
|
}
|
||||||
delete report;
|
delete report;
|
||||||
|
report = NULL;
|
||||||
} else {
|
} else {
|
||||||
QMessageBox msgBox;
|
QMessageBox msgBox;
|
||||||
msgBox.setText(tr("Failed to read the report."));
|
msgBox.setText(tr("Failed to read the report."));
|
||||||
|
|
Loading…
Reference in New Issue