summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qcoreapplication
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-11-18 08:48:07 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-18 00:07:51 +0100
commit70d91b5c46ea821b75ecb9c0091e8e425456dae5 (patch)
treea0e768d7beb7aa6e995f83af2e28be94ecbb4bb3 /tests/auto/corelib/kernel/qcoreapplication
parente9478a1e8a2c49560c8964fc7bf5d6172f6978b2 (diff)
Fixed compile of autotests with -qtnamespace.
Make sure to use the Qt namespace for qGlobalPostedEventsCount. Change-Id: I558a0b0fba1e22a2edd96f9499a2bab82046c4a4 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Diffstat (limited to 'tests/auto/corelib/kernel/qcoreapplication')
-rw-r--r--tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp b/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp
index 09f31414a6..6a2d04d46d 100644
--- a/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp
+++ b/tests/auto/corelib/kernel/qcoreapplication/tst_qcoreapplication.cpp
@@ -597,7 +597,6 @@ public:
return false;
}
bool hasPendingEvents() {
- extern uint qGlobalPostedEventsCount(); // from qapplication.cpp
return qGlobalPostedEventsCount();
}
void registerSocketNotifier(QSocketNotifier *) {}