Commit 0aeb9115 authored by Laurent Montel's avatar Laurent Montel 😁

port to std::sort

parent 86e6b7cb
......@@ -68,7 +68,7 @@ static QStringList normalizeBt(const QStringList &l)
}
}
qSort(normalized.begin(), normalized.end(), lineNoLessThan);
std::sort(normalized.begin(), normalized.end(), lineNoLessThan);
// now every single line contains a whole backtrace info
return normalized;
......
......@@ -104,7 +104,7 @@ void KateSessionsModel::initSessionFiles()
}
qSort(m_sessions.begin(),m_sessions.end(),katesessions_compare_sessions);
std::sort(m_sessions.begin(),m_sessions.end(), katesessions_compare_sessions);
QLatin1String ext(".katesession");
for(QStringList::ConstIterator it=m_sessions.constBegin();it!=m_sessions.constEnd();++it)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment