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
|
bool Applet::isPublished() const
|
||||||
{
|
{
|
||||||
if (d->package) {
|
return d->service && d->service->d->isPublished();
|
||||||
return d->package->d->isPublished();
|
|
||||||
} else {
|
|
||||||
if (d->service) {
|
|
||||||
return d->service->d->isPublished();
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Applet::setHasConfigurationInterface(bool hasInterface)
|
void Applet::setHasConfigurationInterface(bool hasInterface)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user