diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-05-07 12:58:58 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-05-07 12:59:30 (GMT) |
commit | 62096261a9a07968eeaa77ef205f33a570913377 (patch) | |
tree | 9b84f5e20ef4559ab398c52553af3221d14febf2 /tests/auto/qmetaobject | |
parent | 71ce6e70fd9dc3f2d65deab8a7645ebc30610298 (diff) | |
download | Qt-62096261a9a07968eeaa77ef205f33a570913377.zip Qt-62096261a9a07968eeaa77ef205f33a570913377.tar.gz Qt-62096261a9a07968eeaa77ef205f33a570913377.tar.bz2 |
Fix compilation of the tst_qmetaobject test
Diffstat (limited to 'tests/auto/qmetaobject')
-rw-r--r-- | tests/auto/qmetaobject/tst_qmetaobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qmetaobject/tst_qmetaobject.cpp b/tests/auto/qmetaobject/tst_qmetaobject.cpp index 0ef452c..370403e 100644 --- a/tests/auto/qmetaobject/tst_qmetaobject.cpp +++ b/tests/auto/qmetaobject/tst_qmetaobject.cpp @@ -710,7 +710,7 @@ void tst_QMetaObject::invokeBlockingQueuedMetaMember() QCOMPARE(exp, QString("yessir")); QCOMPARE(obj.slotResult, QString("sl1:hehe")); - QVERIFY(QMetaObject::invokeMethod(&obj, "moveToThread", Qt::BlockingQueuedConnection, Q_ARG(QThread*, QThread::current()))); + QVERIFY(QMetaObject::invokeMethod(&obj, "moveToThread", Qt::BlockingQueuedConnection, Q_ARG(QThread*, QThread::currentThread()))); t.quit(); QVERIFY(t.wait()); |