summaryrefslogtreecommitdiffstats
path: root/src/assistant/help/qhelpindexwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/assistant/help/qhelpindexwidget.cpp')
-rw-r--r--src/assistant/help/qhelpindexwidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/assistant/help/qhelpindexwidget.cpp b/src/assistant/help/qhelpindexwidget.cpp
index c5f26a701..64c2e0538 100644
--- a/src/assistant/help/qhelpindexwidget.cpp
+++ b/src/assistant/help/qhelpindexwidget.cpp
@@ -49,6 +49,8 @@
#include <QtWidgets/QListView>
#include <QtWidgets/QHeaderView>
+#include <algorithm>
+
QT_BEGIN_NAMESPACE
class QHelpIndexProvider : public QThread
@@ -192,7 +194,7 @@ void QHelpIndexProvider::run()
}
m_mutex.lock();
m_indices = indicesSet.values();
- qSort(m_indices.begin(), m_indices.end(), caseInsensitiveLessThan);
+ std::sort(m_indices.begin(), m_indices.end(), caseInsensitiveLessThan);
m_mutex.unlock();
}