Commit 2f99151e authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Port away from deprecated qSort()

parent 907510ab
......@@ -161,7 +161,7 @@ void EngineExplorer::listEngines()
{
m_engines->clear();
KPluginInfo::List engines = m_engineManager->listDataEngineInfo(m_app);
qSort(engines);
std::sort(engines.begin(), engines.end());
foreach (const KPluginInfo engine, engines) {
m_engines->addItem(QIcon::fromTheme(engine.icon()), engine.pluginName());
......
Supports Markdown
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