X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoresessioneventprocessor.cpp;h=3bc78110ba26504007286165bdceed3fb13c9e40;hb=df38a9238d603ec8d2040619befa50980d994916;hp=af30bfb79287c931ae87acd86d5fd1a03bd0a9f2;hpb=edc55b1f86cf613a332eeeb5d85537a54120dfa5;p=quassel.git diff --git a/src/core/coresessioneventprocessor.cpp b/src/core/coresessioneventprocessor.cpp index af30bfb7..3bc78110 100644 --- a/src/core/coresessioneventprocessor.cpp +++ b/src/core/coresessioneventprocessor.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -20,6 +20,8 @@ #include "coresessioneventprocessor.h" +#include + #include "coreirclisthelper.h" #include "corenetwork.h" #include "coresession.h" @@ -1536,7 +1538,7 @@ void CoreSessionEventProcessor::handleCtcpClientinfo(CtcpEvent* e) QStringList supportedHandlers; for (const QString& handler : providesHandlers()) supportedHandlers << handler.toUpper(); - qSort(supportedHandlers); + std::sort(supportedHandlers.begin(), supportedHandlers.end()); e->setReply(supportedHandlers.join(" ")); }