one less contains

svn path=/trunk/KDE/kdelibs/; revision=895571
This commit is contained in:
Aaron J. Seigo 2008-12-11 02:47:11 +00:00
parent f4486e8862
commit c98d3aacf5

View File

@ -223,7 +223,7 @@ void Service::setOperationEnabled(const QString &operation, bool enable)
if (enable) {
d->disabledOperations.remove(operation);
} else if (!d->disabledOperations.contains(operation)) {
} else {
d->disabledOperations.insert(operation);
}