diff --git a/applets/systemtray/plugin/protocols/plasmoid/plasmoidprotocol.cpp b/applets/systemtray/plugin/protocols/plasmoid/plasmoidprotocol.cpp index 6c8278396..3b770e7e7 100644 --- a/applets/systemtray/plugin/protocols/plasmoid/plasmoidprotocol.cpp +++ b/applets/systemtray/plugin/protocols/plasmoid/plasmoidprotocol.cpp @@ -240,6 +240,10 @@ void PlasmoidProtocol::initDBusActivatables() connect(callWatcher, &QDBusPendingCallWatcher::finished, this, &PlasmoidProtocol::serviceNameFetchFinished); + QDBusPendingCall systemAsync = QDBusConnection::systemBus().interface()->asyncCall("ListNames"); + QDBusPendingCallWatcher *systemCallWatcher = new QDBusPendingCallWatcher(systemAsync, this); + connect(systemCallWatcher, &QDBusPendingCallWatcher::finished, + this, &PlasmoidProtocol::serviceNameFetchFinished); } void PlasmoidProtocol::serviceNameFetchFinished(QDBusPendingCallWatcher* watcher)