ignore the event if we don't care

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857154
This commit is contained in:
Aaron J. Seigo 2008-09-04 20:13:23 +00:00
parent 6d24078bc7
commit b3b8ac7ee3
2 changed files with 2 additions and 2 deletions

View File

@ -1022,6 +1022,7 @@ void Containment::wheelEvent(QGraphicsSceneWheelEvent *event)
}
}
event->ignore();
Applet::wheelEvent(event);
}

View File

@ -141,12 +141,11 @@ ServiceJob* Service::startOperationCall(const KConfigGroup &description)
if (d->disabledOperations.contains(op)) {
kDebug() << "Operation" << op << "is disabled";
} else {
d->config->writeConfig();
QMap<QString, QVariant> params;
foreach (const QString &key, description.keyList()) {
KConfigSkeletonItem *item = d->config->findItem(op, key);
if (item) {
params.insert(key, item->property());
params.insert(key, description.readEntry(key, item->property()));
}
}