diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-11-01 20:33:13 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-11-01 20:33:13 (GMT) |
commit | 187185bf246b63f080cf2a59b6768756b399e72c (patch) | |
tree | 2513b7bf7ce1d044df52c257000e669167f8c660 /src | |
parent | 982d417c0db3d924d060bf6e998d2b4950f466e6 (diff) | |
parent | cfa391673c47f94c42bfac70a6a1f4d17eff06e8 (diff) | |
download | Qt-187185bf246b63f080cf2a59b6768756b399e72c.zip Qt-187185bf246b63f080cf2a59b6768756b399e72c.tar.gz Qt-187185bf246b63f080cf2a59b6768756b399e72c.tar.bz2 |
Merge branch 'qt-master-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration into master-integration
* 'qt-master-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration:
Fix OpenVG painting artifacts after restoreState().
Quickly clicking an item that doesn't use double clicking should result in two separate clicks
Fix QML visual tests on Mac.
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativemousearea.cpp | 3 | ||||
-rw-r--r-- | src/openvg/qpaintengine_vg.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativemousearea.cpp b/src/declarative/graphicsitems/qdeclarativemousearea.cpp index 1b7dce0..d9edd11 100644 --- a/src/declarative/graphicsitems/qdeclarativemousearea.cpp +++ b/src/declarative/graphicsitems/qdeclarativemousearea.cpp @@ -566,7 +566,8 @@ void QDeclarativeMouseArea::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *even if (!d->absorb) { QDeclarativeItem::mouseDoubleClickEvent(event); } else { - d->doubleClick = true; + if (d->isDoubleClickConnected()) + d->doubleClick = true; d->saveEvent(event); QDeclarativeMouseEvent me(d->lastPos.x(), d->lastPos.y(), d->lastButton, d->lastButtons, d->lastModifiers, true, false); me.setAccepted(d->isDoubleClickConnected()); diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp index 9df32d9..ee65e48 100644 --- a/src/openvg/qpaintengine_vg.cpp +++ b/src/openvg/qpaintengine_vg.cpp @@ -3678,6 +3678,7 @@ void QVGPaintEngine::restoreState(QPaintEngine::DirtyFlags dirty) d->maskIsSet = false; d->scissorMask = false; d->maskRect = QRect(); + d->scissorDirty = true; clipEnabledChanged(); } |