Commit 4971de7c authored by David Schulz's avatar David Schulz
Browse files

Core: Sort document model in a locale aware manner.

Task-number: QTCREATORBUG-12608
Change-Id: If0b9507d31a17cbebfb9fe83fde44738b6e7dcf9
Reviewed-by: default avatarEike Ziller <>
parent 72e878a1
......@@ -213,7 +213,7 @@ void DocumentModelPrivate::addEntry(DocumentModel::Entry *entry)
int index;
QString displayName = entry->displayName();
for (index = 0; index < m_entries.count(); ++index) {
if (displayName <>displayName())
if (displayName.localeAwareCompare(>displayName()) < 0)
int row = index + 1/*<no document>*/;
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