better return something

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852090
This commit is contained in:
Dirk Mueller 2008-08-25 10:27:53 +00:00
parent 3f3b9eddcc
commit 05a1658faa

View File

@ -232,7 +232,7 @@ void Service::setOperationEnabled(const QString &operation, bool enable)
bool Service::operationIsEnabled(const QString &operation) const bool Service::operationIsEnabled(const QString &operation) const
{ {
d->config->hasGroup(operation) && !d->disabledOperations.contains(operation); return d->config->hasGroup(operation) && !d->disabledOperations.contains(operation);
} }
void Service::setOperationsScheme(QIODevice *xml) void Service::setOperationsScheme(QIODevice *xml)