ignore the event if we don't care
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857154
This commit is contained in:
parent
6d24078bc7
commit
b3b8ac7ee3
@ -1022,6 +1022,7 @@ void Containment::wheelEvent(QGraphicsSceneWheelEvent *event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
event->ignore();
|
||||||
Applet::wheelEvent(event);
|
Applet::wheelEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,12 +141,11 @@ ServiceJob* Service::startOperationCall(const KConfigGroup &description)
|
|||||||
if (d->disabledOperations.contains(op)) {
|
if (d->disabledOperations.contains(op)) {
|
||||||
kDebug() << "Operation" << op << "is disabled";
|
kDebug() << "Operation" << op << "is disabled";
|
||||||
} else {
|
} else {
|
||||||
d->config->writeConfig();
|
|
||||||
QMap<QString, QVariant> params;
|
QMap<QString, QVariant> params;
|
||||||
foreach (const QString &key, description.keyList()) {
|
foreach (const QString &key, description.keyList()) {
|
||||||
KConfigSkeletonItem *item = d->config->findItem(op, key);
|
KConfigSkeletonItem *item = d->config->findItem(op, key);
|
||||||
if (item) {
|
if (item) {
|
||||||
params.insert(key, item->property());
|
params.insert(key, description.readEntry(key, item->property()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user