diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-07-29 03:59:59 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-07-29 03:59:59 (GMT) |
commit | 5d5feaa86f3933a1e89b53267953b86e2b0459ed (patch) | |
tree | dd7becfa769c4c75b897323d7094b8725e38b58d /src/gui/graphicsview/qgraphicstransform.cpp | |
parent | 34c4380219743a3b268bf1ce0be55d7291da5750 (diff) | |
download | Qt-5d5feaa86f3933a1e89b53267953b86e2b0459ed.zip Qt-5d5feaa86f3933a1e89b53267953b86e2b0459ed.tar.gz Qt-5d5feaa86f3933a1e89b53267953b86e2b0459ed.tar.bz2 |
Remove use of shared NOTIFY signals in QGraphicsScale
Sharing a NOTIFY signal can cause binding loop warnings with no apparent
cause.
Task-number: QTBUG-12333
Reviewed-by: Aaron Kennedy
Reviewed-by: Michael Brasser
Diffstat (limited to 'src/gui/graphicsview/qgraphicstransform.cpp')
-rw-r--r-- | src/gui/graphicsview/qgraphicstransform.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicstransform.cpp b/src/gui/graphicsview/qgraphicstransform.cpp index 4ab6975..986bee6 100644 --- a/src/gui/graphicsview/qgraphicstransform.cpp +++ b/src/gui/graphicsview/qgraphicstransform.cpp @@ -267,6 +267,7 @@ void QGraphicsScale::setXScale(qreal scale) return; d->xScale = scale; update(); + emit xScaleChanged(); emit scaleChanged(); } @@ -293,6 +294,7 @@ void QGraphicsScale::setYScale(qreal scale) return; d->yScale = scale; update(); + emit yScaleChanged(); emit scaleChanged(); } @@ -319,6 +321,7 @@ void QGraphicsScale::setZScale(qreal scale) return; d->zScale = scale; update(); + emit zScaleChanged(); emit scaleChanged(); } |