bool KService::noDisplay() const
{
if (qvariant_cast<bool>(property(QStringLiteral("NoDisplay"), QVariant::Bool))) {
return true;
}
if (!showInCurrentDesktop()) {
return true;
}
if (!showOnCurrentPlatform()) {
return true;
}
if (!KAuthorized::authorizeControlModule(storageId())) {
return true;
}
return false;
}