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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestcoreelement.h b/src/testlib/qtestcoreelement.h
index a6aa56d08..8c029b5ec 100644
--- a/src/testlib/qtestcoreelement.h
+++ b/src/testlib/qtestcoreelement.h
@@ -74,7 +74,7 @@ class QTestCoreElement: public QTestCoreList<ElementType>
template<class ElementType>
QTestCoreElement<ElementType>::QTestCoreElement(int t)
-:listOfAttributes(0), type((QTest::LogElementType)t)
+ :listOfAttributes(0), type(QTest::LogElementType(t))
{
}