From 38e3b6338c18e77cb14dae594befdbc4f4cdf8d0 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 18 Jan 2020 15:23:35 +0100 Subject: Various warning fixes --- gui/treemodel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/treemodel.cc') 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 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()); -- cgit v1.2.3