Commit 84bf6873 authored by pvuorela's avatar pvuorela

Use std::sort instead of qSort as suggested by current documentation

parent aade6416
......@@ -229,7 +229,7 @@ QList<Language> LanguageModel::supportedLanguages()
languages.append(newLanguage);
}
qSort(languages.begin(), languages.end(), nameLessThan);
std::sort(languages.begin(), languages.end(), nameLessThan);
return languages;
}
......
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