diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-01-24 16:24:24 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-25 02:24:29 +0100 |
commit | 4fa2d51cf1b11240e568d15da8530fdea5ac70cb (patch) | |
tree | 04a2208191125ad0fc6fb1986b1fa6fc6f693842 /tests/auto/corelib/kernel/qobject/tst_qobject.cpp | |
parent | 0fb5c7e71d6f9551b5e60f42a0d210ee65b01595 (diff) |
tst_qobject: Run as console application.
Change-Id: If3049249cf8ceeb0985d158209e217455bfc3c47
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'tests/auto/corelib/kernel/qobject/tst_qobject.cpp')
-rw-r--r-- | tests/auto/corelib/kernel/qobject/tst_qobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp index 81d0c95a97..dec34a8fa0 100644 --- a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp +++ b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp @@ -3364,7 +3364,7 @@ void tst_QObject::deleteQObjectWhenDeletingEvent() }; QObject o; - QGuiApplication::postEvent(&o, new MyEvent); + QCoreApplication::postEvent(&o, new MyEvent); QCoreApplication::removePostedEvents(&o); // here you would get a deadlock } |