diff --git a/applet.cpp b/applet.cpp index 83956fa3f..f6145f4a0 100644 --- a/applet.cpp +++ b/applet.cpp @@ -1666,6 +1666,7 @@ void Applet::publish(AnnouncementMethods methods, const QString &resourceName) PackageMetadata pm; pm.setName(d->appletDescription.name()); pm.setDescription(d->appletDescription.comment()); + pm.setIcon(d->appletDescription.icon()); d->service->d->publish(methods, resourceName, pm); } else { kDebug() << "Can not publish invalid applets."; diff --git a/remote/accessmanager.cpp b/remote/accessmanager.cpp index 0a4f66af8..6ffd0f2c3 100644 --- a/remote/accessmanager.cpp +++ b/remote/accessmanager.cpp @@ -151,6 +151,7 @@ void AccessManagerPrivate::slotAddService(DNSSD::RemoteService::Ptr service) QMap textData = service->textData(); metadata.setName(textData["name"]); metadata.setDescription(textData["description"]); + metadata.setIcon(textData["icon"]); metadata.setRemoteLocation(url.prettyUrl()); } else { kDebug() << "no textdata?"; diff --git a/service.cpp b/service.cpp index fc88b17fd..c0f869647 100644 --- a/service.cpp +++ b/service.cpp @@ -112,6 +112,7 @@ void ServicePrivate::publish(AnnouncementMethods methods, const QString &name, c textData["name"] = name.toUtf8(); textData["plasmoidname"] = metadata.name().toUtf8(); textData["description"] = metadata.description().toUtf8(); + textData["icon"] = metadata.icon().toUtf8(); publicService->setTextData(textData); kDebug() << "about to publish";