Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use std::sort instead of qSort as suggested by current documentation
  • Loading branch information
pvuorela committed May 3, 2019
1 parent aade641 commit 84bf687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languagemodel.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 84bf687

Please sign in to comment.