Replace deprecated qSort with std::sort
[quassel.git] / src / client / messagefilter.cpp
index 10c9aa0..49676e3 100644 (file)
@@ -115,7 +115,7 @@ QString MessageFilter::idString() const
         return "*";
 
     QList<BufferId> bufferIds = _validBuffers.toList();
-    qSort(bufferIds);
+    std::sort(bufferIds.begin(), bufferIds.end());
 
     QStringList bufferIdStrings;
     foreach (BufferId id, bufferIds)