summaryrefslogtreecommitdiff
path: root/src/plugins/git/gerrit/gerritmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/git/gerrit/gerritmodel.cpp')
-rw-r--r--src/plugins/git/gerrit/gerritmodel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/git/gerrit/gerritmodel.cpp b/src/plugins/git/gerrit/gerritmodel.cpp
index 42da70807c..a3a0c96cdc 100644
--- a/src/plugins/git/gerrit/gerritmodel.cpp
+++ b/src/plugins/git/gerrit/gerritmodel.cpp
@@ -640,9 +640,9 @@ static bool parseOutput(const QSharedPointer<GerritParameters> &parameters,
approval.description = ao.value(approvalsDescriptionKey).toString();
change->currentPatchSet.approvals.push_back(approval);
}
- qStableSort(change->currentPatchSet.approvals.begin(),
- change->currentPatchSet.approvals.end(),
- gerritApprovalLessThan);
+ std::stable_sort(change->currentPatchSet.approvals.begin(),
+ change->currentPatchSet.approvals.end(),
+ gerritApprovalLessThan);
// Remaining
change->number = object.value(numberKey).toString().toInt();
change->url = object.value(urlKey).toString();
@@ -779,7 +779,7 @@ void GerritModel::queryFinished(const QByteArray &output)
}
}
// Sort by depth (root nodes first) and by date.
- qStableSort(changes.begin(), changes.end(), gerritChangeLessThan);
+ std::stable_sort(changes.begin(), changes.end(), gerritChangeLessThan);
numberIndexHash.clear();
foreach (const GerritChangePtr &c, changes) {