much more straightforward way of publishing
This commit is contained in:
parent
e06d98147b
commit
c19238fdab
@ -1655,11 +1655,7 @@ void Applet::publish(AnnouncementMethods methods, const QString &resourceName)
|
||||
}
|
||||
|
||||
kDebug() << "publishing package under name " << 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);
|
||||
d->service->d->publish(methods, resourceName, d->appletDescription);
|
||||
} else {
|
||||
kDebug() << "Can not publish invalid applets.";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user