CleanUp usage of QtAlgorithms

Change-Id: I61be20554014f90c2e1313167a3e3c869e26c35e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Nikita Baryshnikov
2014-06-16 21:34:13 +04:00
committed by hjk
parent 453bb4ebe5
commit 84e176edab
12 changed files with 25 additions and 46 deletions

View File

@@ -280,7 +280,7 @@ bool BasicProposalItemListModel::isSortable(const QString &prefix) const
void BasicProposalItemListModel::sort(const QString &prefix)
{
qStableSort(m_currentItems.begin(), m_currentItems.end(), ContentLessThan(prefix));
std::stable_sort(m_currentItems.begin(), m_currentItems.end(), ContentLessThan(prefix));
}
int BasicProposalItemListModel::persistentId(int index) const