diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-17 08:41:18 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-17 08:41:18 (GMT) |
commit | 45305b592b13040d249dd672b2ab3520b827d135 (patch) | |
tree | 844d017c5cc432639091b2ed88768b5e2a8cf8f8 /src/gui/graphicsview/qgraphicsanchorlayout.cpp | |
parent | 22e7ee32913484e25ae7bc61083f6a28bfaecfe9 (diff) | |
download | Qt-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.cpp | 4 |
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 |