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,12 +1666,8 @@ 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();
}
if (d->service) {
d->service->d->unpublish();
}
}