diff --git a/core/daemon.cpp b/core/daemon.cpp index 28a64fbb6..580fcf458 100644 --- a/core/daemon.cpp +++ b/core/daemon.cpp @@ -130,7 +130,7 @@ void Daemon::forceOnNetworkChange() { qCDebug(KDECONNECT_CORE) << "Sending onNetworkChange to" << d->m_linkProviders.size() << "LinkProviders"; for (LinkProvider *a : std::as_const(d->m_linkProviders)) { - qCDebug(KDECONNECT_CORE) << "Sending onNetworkChange to: " << a->name(); + qCDebug(KDECONNECT_CORE) << "Sending onNetworkChange to:" << a->name(); a->onNetworkChange(); } } diff --git a/kcm/kcm.cpp b/kcm/kcm.cpp index 4be917473..660547ef1 100644 --- a/kcm/kcm.cpp +++ b/kcm/kcm.cpp @@ -97,7 +97,7 @@ KdeConnectKcm::KdeConnectKcm(QObject *parent, const KPluginMetaData &md, const Q setWhenAvailable( daemon->linkProviders(), - [this](bool error, const QStringList linkProviders) { + [this](bool error, const QStringList &linkProviders) { kcmUi.linkProviders_list->clear(); for (int i = 0; i < linkProviders.size(); ++i) { QStringList linkProvider = linkProviders.at(i).split(QStringLiteral("|"));