diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2009-09-29 11:03:42 (GMT) |
---|---|---|
committer | Jeremy Katz <jeremy.katz@nokia.com> | 2009-09-29 11:03:42 (GMT) |
commit | e9ef0cd651bcfeb85262e877c693f5efe07dff8e (patch) | |
tree | 4af3b622587e50b86679bd4c5830a626d4eec36b /src/gui/math3d/qvector2d.h | |
parent | 777c02085e0f30d0dceb57a9ac96a44999b4a028 (diff) | |
download | Qt-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/qvector2d.h')
-rw-r--r-- | src/gui/math3d/qvector2d.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/math3d/qvector2d.h b/src/gui/math3d/qvector2d.h index 570e864..cd9a12c 100644 --- a/src/gui/math3d/qvector2d.h +++ b/src/gui/math3d/qvector2d.h @@ -144,8 +144,8 @@ inline bool QVector2D::isNull() const inline qreal QVector2D::x() const { return qreal(xp); } inline qreal QVector2D::y() const { return qreal(yp); } -inline void QVector2D::setX(qreal x) { xp = x; } -inline void QVector2D::setY(qreal y) { yp = y; } +inline void QVector2D::setX(qreal aX) { xp = aX; } +inline void QVector2D::setY(qreal aY) { yp = aY; } inline QVector2D &QVector2D::operator+=(const QVector2D &vector) { |