tst_qcoreapplication: Remove QT_DISABLE_DEPRECATED_BEFORE=0

Change-Id: I6d5098ff57293171b5ddd3a58c53718cbbc8e4bf
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Debao Zhang 2013-03-22 13:34:30 +08:00 committed by The Qt Project
parent 4bb76df7f7
commit 5c2a8899e1
2 changed files with 1 additions and 2 deletions

View File

@ -2,4 +2,3 @@ CONFIG += testcase parallel_test
TARGET = tst_qcoreapplication
QT = core testlib core-private
SOURCES = tst_qcoreapplication.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0

View File

@ -643,7 +643,7 @@ void tst_QCoreApplication::customEventDispatcher()
QCOMPARE(QCoreApplication::eventDispatcher(), ed);
// test the alternative API of QAbstractEventDispatcher
QCOMPARE(QAbstractEventDispatcher::instance(), ed);
QWeakPointer<DummyEventDispatcher> weak_ed(ed);
QPointer<DummyEventDispatcher> weak_ed(ed);
QVERIFY(!weak_ed.isNull());
{
int argc = 1;