QtMessageLogHandler: Sorting child items

Insert child items in sorted order if the "Sort Members and
Classes Alphabetically" is set in Locals And Expressions.

Change-Id: Ib21803326ec3f35c9541c08d876c4a38c0202a9f
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Aurindam Jana
2012-03-22 12:00:47 +01:00
committed by hjk
parent e9e804888e
commit b9dfbd8ec3
4 changed files with 12 additions and 5 deletions

View File

@@ -995,7 +995,7 @@ QtMessageLogItem *QmlV8DebuggerClientPrivate::constructLogItemTree(
QtMessageLogItem *child = constructLogItemTree(
item, extractData(property, refsVal), refsVal);
if (child)
item->insertChildSorted(child);
item->insertChild(child);
}
return item;