summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-08-17 11:48:01 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-08-17 11:48:01 (GMT)
commitc9aa27d0ae9f3492c19da1e4c75178b8fcb764be (patch)
tree819c01db11f67e93c9c0343218df3693b9cac4b6
parentf2f5efc551648c01a384dbc36cec0d966ccbebbb (diff)
downloadQt-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.cpp3
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();
}
/*!