summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2011-01-24 04:08:23 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2011-01-25 00:41:04 (GMT)
commit1aea31ebfdd9a6893b2d88b69f34de0b1456b2e4 (patch)
treec9b41c74b25e71602d149a3b179298309952d05a
parent6f78a6080b84cc3ef96b73a4ff58d1b5a72f08f4 (diff)
downloadQt-1aea31ebfdd9a6893b2d88b69f34de0b1456b2e4.zip
Qt-1aea31ebfdd9a6893b2d88b69f34de0b1456b2e4.tar.gz
Qt-1aea31ebfdd9a6893b2d88b69f34de0b1456b2e4.tar.bz2
Fix copy-paste error in QDeclarativeMouseArea::hoverMoveEvent.
Reviewed-by: Martin Jones
-rw-r--r--src/declarative/graphicsitems/qdeclarativemousearea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativemousearea.cpp b/src/declarative/graphicsitems/qdeclarativemousearea.cpp
index 4b555d0..82125f7 100644
--- a/src/declarative/graphicsitems/qdeclarativemousearea.cpp
+++ b/src/declarative/graphicsitems/qdeclarativemousearea.cpp
@@ -591,7 +591,7 @@ void QDeclarativeMouseArea::hoverMoveEvent(QGraphicsSceneHoverEvent *event)
{
Q_D(QDeclarativeMouseArea);
if (!d->absorb) {
- QDeclarativeItem::hoverEnterEvent(event);
+ QDeclarativeItem::hoverMoveEvent(event);
} else {
d->lastPos = event->pos();
QDeclarativeMouseEvent me(d->lastPos.x(), d->lastPos.y(), Qt::NoButton, d->lastButtons, d->lastModifiers, false, d->longPress);