summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsanchorlayout.cpp
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-08-17 08:41:18 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-08-17 08:41:18 (GMT)
commit45305b592b13040d249dd672b2ab3520b827d135 (patch)
tree844d017c5cc432639091b2ed88768b5e2a8cf8f8 /src/gui/graphicsview/qgraphicsanchorlayout.cpp
parent22e7ee32913484e25ae7bc61083f6a28bfaecfe9 (diff)
downloadQt-45305b592b13040d249dd672b2ab3520b827d135.zip
Qt-45305b592b13040d249dd672b2ab3520b827d135.tar.gz
Qt-45305b592b13040d249dd672b2ab3520b827d135.tar.bz2
Change the member QGALPrivate::spacing to QGALPrivate::spacings.
This was done to avoid any potential shadowing problems (we already use the variable name 'spacing' several places)
Diffstat (limited to 'src/gui/graphicsview/qgraphicsanchorlayout.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicsanchorlayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout.cpp b/src/gui/graphicsview/qgraphicsanchorlayout.cpp
index 9846988..98e4b32 100644
--- a/src/gui/graphicsview/qgraphicsanchorlayout.cpp
+++ b/src/gui/graphicsview/qgraphicsanchorlayout.cpp
@@ -207,9 +207,9 @@ void QGraphicsAnchorLayout::setSpacing(qreal spacing, Qt::Orientations orientati
{
Q_D(QGraphicsAnchorLayout);
if (orientations & Qt::Horizontal)
- d->spacing[0] = spacing;
+ d->spacings[0] = spacing;
if (orientations & Qt::Vertical)
- d->spacing[1] = spacing;
+ d->spacings[1] = spacing;
}
qreal QGraphicsAnchorLayout::spacing(Qt::Orientation orientation) const