Fix warnings
This commit is contained in:
parent
44a7fc226f
commit
042fdd368a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue