diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/treemodel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/treemodel.cc b/gui/treemodel.cc index b834c682..97cc8883 100644 --- a/gui/treemodel.cc +++ b/gui/treemodel.cc @@ -93,7 +93,7 @@ void IdStringList::updateElements(Context *ctx, std::vector<IdString> elements) } // Sort new children - qSort(children_.begin(), children_.end(), [&](const Item *a, const Item *b) { + std::sort(children_.begin(), children_.end(), [&](const Item *a, const Item *b) { auto parts_a = alphaNumSplit(a->name()); auto parts_b = alphaNumSplit(b->name()); |