don't use Package for isPublished
This commit is contained in:
parent
2f1c50c419
commit
db0e72bf77
10
applet.cpp
10
applet.cpp
@ -1673,15 +1673,7 @@ void Applet::unpublish()
|
||||
|
||||
bool Applet::isPublished() const
|
||||
{
|
||||
if (d->package) {
|
||||
return d->package->d->isPublished();
|
||||
} else {
|
||||
if (d->service) {
|
||||
return d->service->d->isPublished();
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return d->service && d->service->d->isPublished();
|
||||
}
|
||||
|
||||
void Applet::setHasConfigurationInterface(bool hasInterface)
|
||||
|
Loading…
Reference in New Issue
Block a user