much more straightforward way of publishing

This commit is contained in:
Aaron Seigo 2011-05-31 01:02:08 +02:00
parent e06d98147b
commit c19238fdab

View File

@ -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.";
}