summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcoreelement.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/testlib/qtestcoreelement.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/testlib/qtestcoreelement.h')
-rw-r--r--src/testlib/qtestcoreelement.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testlib/qtestcoreelement.h b/src/testlib/qtestcoreelement.h
index e9691d5..b5e5d0f 100644
--- a/src/testlib/qtestcoreelement.h
+++ b/src/testlib/qtestcoreelement.h
@@ -93,9 +93,9 @@ void QTestCoreElement<ElementType>::addAttribute(const QTest::AttributeIndex att
if (attribute(attributeIndex))
return;
- QTestElementAttribute *attribute = new QTestElementAttribute;
- attribute->setPair(attributeIndex, value);
- attribute->addToList(&listOfAttributes);
+ QTestElementAttribute *testAttribute = new QTestElementAttribute;
+ testAttribute->setPair(attributeIndex, value);
+ testAttribute->addToList(&listOfAttributes);
}
template <class ElementType>