GUI: Simplify condition.

With current code we always have both filename and linenumber for
each error.
This commit is contained in:
Kimmo Varis 2011-07-21 09:09:52 +03:00
parent fb3870071a
commit fe1ba6ae37
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ void ResultsTree::AddErrorItem(const ErrorItem &item)
stditem->setData(QVariant(data));
//Add backtrace files as children
for (int i = 1; i < item.files.size() && i < item.lines.size(); i++)
for (int i = 1; i < item.files.size(); i++)
{
line.file = StripPath(item.files[i], false);
line.line = item.lines[i];