summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib/qtestdata.cpp')
-rw-r--r--src/testlib/qtestdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestdata.cpp b/src/testlib/qtestdata.cpp
index 6797abf1d0..404f2ce855 100644
--- a/src/testlib/qtestdata.cpp
+++ b/src/testlib/qtestdata.cpp
@@ -93,7 +93,7 @@ void QTestData::append(int type, const void *data)
d->dataCount, d->tag);
QTEST_ASSERT(false);
}
- d->data[d->dataCount] = QMetaType::construct(type, data);
+ d->data[d->dataCount] = QMetaType::create(type, data);
++d->dataCount;
}