diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-17 11:48:01 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-17 11:48:01 (GMT) |
commit | c9aa27d0ae9f3492c19da1e4c75178b8fcb764be (patch) | |
tree | 819c01db11f67e93c9c0343218df3693b9cac4b6 | |
parent | f2f5efc551648c01a384dbc36cec0d966ccbebbb (diff) | |
download | Qt-c9aa27d0ae9f3492c19da1e4c75178b8fcb764be.zip Qt-c9aa27d0ae9f3492c19da1e4c75178b8fcb764be.tar.gz Qt-c9aa27d0ae9f3492c19da1e4c75178b8fcb764be.tar.bz2 |
Add missing call to invalidate() in all functions that modify the
spacing.
-rw-r--r-- | src/gui/graphicsview/qgraphicsanchorlayout.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout.cpp b/src/gui/graphicsview/qgraphicsanchorlayout.cpp index b3dac18..ff4706d 100644 --- a/src/gui/graphicsview/qgraphicsanchorlayout.cpp +++ b/src/gui/graphicsview/qgraphicsanchorlayout.cpp @@ -220,6 +220,7 @@ void QGraphicsAnchorLayout::setHorizontalSpacing(qreal spacing) { Q_D(QGraphicsAnchorLayout); d->spacings[0] = spacing; + invalidate(); } /*! @@ -231,6 +232,7 @@ void QGraphicsAnchorLayout::setVerticalSpacing(qreal spacing) { Q_D(QGraphicsAnchorLayout); d->spacings[1] = spacing; + invalidate(); } /*! @@ -244,6 +246,7 @@ void QGraphicsAnchorLayout::setSpacing(qreal spacing) { Q_D(QGraphicsAnchorLayout); d->spacings[0] = d->spacings[1] = spacing; + invalidate(); } /*! |