From 57b88247b61eb9994140d199791d42363385818f Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Mon, 2 Sep 2013 23:38:06 +0200 Subject: [PATCH] Remove qSort usages from QtDBus QtAlgorithms is getting deprecated, see http://www.mail-archive.com/development@qt-project.org/msg01603.html Change-Id: Ibd471d5dd7cda878d0fb71202468a7ccfa5d5046 Reviewed-by: Thiago Macieira --- src/dbus/qdbusabstractadaptor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbus/qdbusabstractadaptor.cpp b/src/dbus/qdbusabstractadaptor.cpp index 04accee037..5ab478e1bd 100644 --- a/src/dbus/qdbusabstractadaptor.cpp +++ b/src/dbus/qdbusabstractadaptor.cpp @@ -274,7 +274,7 @@ void QDBusAdaptorConnector::polish() } // sort the adaptor list - qSort(adaptors); + std::sort(adaptors.begin(), adaptors.end()); } void QDBusAdaptorConnector::relaySlot(void **argv)