Commit 77f8a416 authored by hjk's avatar hjk

ProjectExplorer: Try harder to sort ProjectTree entries

Task-number: QTCREATORBUG-18081
Change-Id: Ie924a5969ee38b1a634fcd7cbbc46c0540f9d8a4
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent e574860c
......@@ -195,6 +195,8 @@ void FlatModel::addOrRebuildProjectModel(Project *project)
container->appendChild(new WrapperNode(projectFileNode));
}
container->sortChildren(&sortWrapperNodes);
container->forAllChildren([this](WrapperNode *node) {
if (node->m_node) {
const QString path = node->m_node->filePath().toString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment