Fix ticket #456 (GUI:: save only the results selected in view settings)

http://sourceforge.net/apps/trac/cppcheck/ticket/456
This commit is contained in:
Kimmo Varis 2009-07-04 22:29:48 +03:00
parent 6e378615cf
commit 81ab6a75c3
1 changed files with 3 additions and 2 deletions

View File

@ -547,6 +547,7 @@ void ResultsTree::SaveResults(Report *report)
for (int i = 0; i < mModel.rowCount(); i++)
{
QStandardItem *item = mModel.item(i, 0);
if (!isRowHidden(i, item->index()))
SaveErrors(report, item);
}