summaryrefslogtreecommitdiff
path: root/src/scripttools/debugging/qscriptdebuggerconsolecommandmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerconsolecommandmanager.cpp')
-rw-r--r--src/scripttools/debugging/qscriptdebuggerconsolecommandmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerconsolecommandmanager.cpp b/src/scripttools/debugging/qscriptdebuggerconsolecommandmanager.cpp
index 6fe100d..19f05c1 100644
--- a/src/scripttools/debugging/qscriptdebuggerconsolecommandmanager.cpp
+++ b/src/scripttools/debugging/qscriptdebuggerconsolecommandmanager.cpp
@@ -46,6 +46,8 @@
#include <QtCore/qlist.h>
#include <QtCore/qstringlist.h>
+#include <algorithm>
+
QT_BEGIN_NAMESPACE
/*!
@@ -237,7 +239,7 @@ QStringList QScriptDebuggerConsoleCommandManager::completions(const QString &pre
result.append(name);
}
}
- qStableSort(result);
+ std::stable_sort(result.begin(), result.end());
return result;
}