summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/testlib')
-rw-r--r--tests/auto/testlib/qsignalspy/tst_qsignalspy.cpp1
-rw-r--r--tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/testlib/qsignalspy/tst_qsignalspy.cpp b/tests/auto/testlib/qsignalspy/tst_qsignalspy.cpp
index c0ecf51fbb..8871c9d947 100644
--- a/tests/auto/testlib/qsignalspy/tst_qsignalspy.cpp
+++ b/tests/auto/testlib/qsignalspy/tst_qsignalspy.cpp
@@ -183,7 +183,6 @@ void tst_QSignalSpy::spyWithQtClasses()
{
QtTestObject2 obj;
- qRegisterMetaType<QDateTime>("QDateTime");
QSignalSpy spy(&obj, SIGNAL(sig2(QDateTime)));
QDateTime dt = QDateTime::currentDateTime();
diff --git a/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp b/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
index 457be3fddd..572388df6c 100644
--- a/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
+++ b/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp
@@ -166,7 +166,6 @@ void tst_Cmptest::compare_pointerfuncs()
QCOMPARE(&i, intptr());
}
-Q_DECLARE_METATYPE(QVariant)
struct PhonyClass
{