summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcoreelement.h
diff options
context:
space:
mode:
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>