From abe229291b292e1e5d0d07b23c130991b347ae78 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 26 Sep 2013 10:29:45 +0200 Subject: Remove QtAlgorithms usage from QtScript. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QtAlgorithms is getting deprecated, see http://www.mail-archive.com/development@qt-project.org/msg01603.html Change-Id: If4dc8f69fd75315390a4850be732715064f5fdd8 Reviewed-by: Jędrzej Nowacki Reviewed-by: Giuseppe D'Angelo --- src/scripttools/debugging/qscriptdebuggerconsolecommandmanager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/scripttools/debugging/qscriptdebuggerconsolecommandmanager.cpp') 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 #include +#include + 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; } -- cgit v1.2.1