forked from qt-creator/qt-creator
CrumblePath: Sort Children
Add a sort children function Change-Id: I3621abf11fdea22deda6aba1ef6e094554950c93 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -64,6 +64,9 @@ void ContextCrumblePath::addChildren(const QStringList &childrenNames, const QLi
|
||||
Q_ASSERT(childrenNames.count() == childrenDebugIds.count());
|
||||
for (int i = 0; i < childrenNames.count(); i++)
|
||||
addChild(childrenNames[i], childrenDebugIds[i]);
|
||||
|
||||
//Sort them alphabetically
|
||||
sortChildren();
|
||||
}
|
||||
|
||||
void ContextCrumblePath::clear()
|
||||
|
||||
Reference in New Issue
Block a user