summaryrefslogtreecommitdiffstats
path: root/src/gui/math3d/qvector3d.h
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2009-09-29 11:03:42 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2009-09-29 11:03:42 (GMT)
commite9ef0cd651bcfeb85262e877c693f5efe07dff8e (patch)
tree4af3b622587e50b86679bd4c5830a626d4eec36b /src/gui/math3d/qvector3d.h
parent777c02085e0f30d0dceb57a9ac96a44999b4a028 (diff)
downloadQt-e9ef0cd651bcfeb85262e877c693f5efe07dff8e.zip
Qt-e9ef0cd651bcfeb85262e877c693f5efe07dff8e.tar.gz
Qt-e9ef0cd651bcfeb85262e877c693f5efe07dff8e.tar.bz2
fix warnings about declarations shadowing class members (autotest reported)
Reviewed-by: Olivier
Diffstat (limited to 'src/gui/math3d/qvector3d.h')
-rw-r--r--src/gui/math3d/qvector3d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/math3d/qvector3d.h b/src/gui/math3d/qvector3d.h
index 1291c96..60bd693 100644
--- a/src/gui/math3d/qvector3d.h
+++ b/src/gui/math3d/qvector3d.h
@@ -160,9 +160,9 @@ inline qreal QVector3D::x() const { return qreal(xp); }
inline qreal QVector3D::y() const { return qreal(yp); }
inline qreal QVector3D::z() const { return qreal(zp); }
-inline void QVector3D::setX(qreal x) { xp = x; }
-inline void QVector3D::setY(qreal y) { yp = y; }
-inline void QVector3D::setZ(qreal z) { zp = z; }
+inline void QVector3D::setX(qreal aX) { xp = aX; }
+inline void QVector3D::setY(qreal aY) { yp = aY; }
+inline void QVector3D::setZ(qreal aZ) { zp = aZ; }
inline QVector3D &QVector3D::operator+=(const QVector3D &vector)
{