GUI: Simplify condition.
With current code we always have both filename and linenumber for each error.
This commit is contained in:
parent
fb3870071a
commit
fe1ba6ae37
|
@ -161,7 +161,7 @@ void ResultsTree::AddErrorItem(const ErrorItem &item)
|
||||||
stditem->setData(QVariant(data));
|
stditem->setData(QVariant(data));
|
||||||
|
|
||||||
//Add backtrace files as children
|
//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.file = StripPath(item.files[i], false);
|
||||||
line.line = item.lines[i];
|
line.line = item.lines[i];
|
||||||
|
|
Loading…
Reference in New Issue