aboutsummaryrefslogtreecommitdiffstats
path: root/gui/treemodel.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2020-01-18 15:23:35 +0100
committerMiodrag Milanovic <mmicko@gmail.com>2020-01-18 15:23:35 +0100
commit38e3b6338c18e77cb14dae594befdbc4f4cdf8d0 (patch)
treeb372c3b6593e3eced7d3bc1b8f6c79ccb4e2749d /gui/treemodel.cc
parentb67ba18590f4a4ec5bb3f1062a8b1495e88f14bb (diff)
downloadnextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.tar.gz
nextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.tar.bz2
nextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.zip
Various warning fixes
Diffstat (limited to 'gui/treemodel.cc')
-rw-r--r--gui/treemodel.cc2
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());