Commit 042fdd36 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Fix warnings

parent 44a7fc22
Pipeline #52975 passed with stage
in 6 minutes and 11 seconds
......@@ -99,7 +99,7 @@ QStringList PluginLoader::incomingCapabilities() const
for (const KPluginMetaData& service : qAsConst(plugins)) {
ret += KPluginMetaData::readStringList(service.rawData(), QStringLiteral("X-KdeConnect-SupportedPacketType")).toSet();
}
return ret.toList();
return ret.values();
}
QStringList PluginLoader::outgoingCapabilities() const
......@@ -108,7 +108,7 @@ QStringList PluginLoader::outgoingCapabilities() const
for (const KPluginMetaData& service : qAsConst(plugins)) {
ret += KPluginMetaData::readStringList(service.rawData(), QStringLiteral("X-KdeConnect-OutgoingPacketType")).toSet();
}
return ret.toList();
return ret.values();
}
QSet<QString> PluginLoader::pluginsForCapabilities(const QSet<QString>& incoming, const QSet<QString>& outgoing)
......
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