QtMessageLogHandler: Insert child items in alphabetical order

Change-Id: I644207f5e8b149364e73abf7512240e918260072
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2012-03-21 16:19:02 +01:00
parent 3d1f5bd85c
commit 10478246a9
4 changed files with 15 additions and 3 deletions

View File

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