it's wheelEvent, not mouseWheelEvent
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857248
This commit is contained in:
parent
d89ad4cba0
commit
72aff55a52
@ -995,7 +995,7 @@ void Containment::wheelEvent(QGraphicsSceneWheelEvent *event)
|
||||
QGraphicsItem* item = scene()->itemAt(event->scenePos());
|
||||
if (item == this) {
|
||||
event->ignore();
|
||||
d->wallpaper->mouseWheelEvent(event);
|
||||
d->wallpaper->wheelEvent(event);
|
||||
|
||||
if (event->isAccepted()) {
|
||||
return;
|
||||
|
@ -217,7 +217,7 @@ void Wallpaper::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
|
||||
Q_UNUSED(event)
|
||||
}
|
||||
|
||||
void Wallpaper::mouseWheelEvent(QGraphicsSceneWheelEvent *event)
|
||||
void Wallpaper::wheelEvent(QGraphicsSceneWheelEvent *event)
|
||||
{
|
||||
Q_UNUSED(event)
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ class PLASMA_EXPORT Wallpaper : public QObject
|
||||
*
|
||||
* @param event the wheel event object
|
||||
*/
|
||||
virtual void mouseWheelEvent(QGraphicsSceneWheelEvent *event);
|
||||
virtual void wheelEvent(QGraphicsSceneWheelEvent *event);
|
||||
|
||||
Q_SIGNALS:
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user