From 042fdd368a9edffff85d44c541230513d46647a4 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Wed, 3 Mar 2021 15:20:24 +0100 Subject: [PATCH] Fix warnings --- core/pluginloader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/pluginloader.cpp b/core/pluginloader.cpp index f7257f2b0..117c40607 100644 --- a/core/pluginloader.cpp +++ b/core/pluginloader.cpp @@ -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 PluginLoader::pluginsForCapabilities(const QSet& incoming, const QSet& outgoing)