diff options
Diffstat (limited to 'spline-widget/functionconfig.cpp')
-rw-r--r-- | spline-widget/functionconfig.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spline-widget/functionconfig.cpp b/spline-widget/functionconfig.cpp index e66a6812..915510ca 100644 --- a/spline-widget/functionconfig.cpp +++ b/spline-widget/functionconfig.cpp @@ -127,7 +127,7 @@ void Map::reload() { if (cur.input.size()) { - qStableSort(cur.input.begin(), cur.input.end(), sortFn); + std::stable_sort(cur.input.begin(), cur.input.end(), sortFn); QList<QPointF> input = cur.input; auto& data = cur.data; @@ -217,7 +217,7 @@ void Map::addPoint(QPointF pt) QMutexLocker foo(&_mutex); cur.input.append(pt); reload(); - qStableSort(cur.input.begin(), cur.input.end(), sortFn); + std::stable_sort(cur.input.begin(), cur.input.end(), sortFn); } void Map::movePoint(int idx, QPointF pt) |