don't use Package for unpublishing

This commit is contained in:
Aaron Seigo 2011-07-13 20:05:56 +02:00
parent 0fa24619d4
commit 53085973b3

View File

@ -1666,14 +1666,10 @@ void Applet::publish(AnnouncementMethods methods, const QString &resourceName)
void Applet::unpublish()
{
if (d->package) {
d->package->d->unpublish();
} else {
if (d->service) {
d->service->d->unpublish();
}
}
}
bool Applet::isPublished() const
{