summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qtestsupport_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qtestsupport_core.h')
-rw-r--r--src/corelib/kernel/qtestsupport_core.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/corelib/kernel/qtestsupport_core.h b/src/corelib/kernel/qtestsupport_core.h
index 2abe70bf99..01b3fda7d9 100644
--- a/src/corelib/kernel/qtestsupport_core.h
+++ b/src/corelib/kernel/qtestsupport_core.h
@@ -88,10 +88,7 @@ Q_REQUIRED_RESULT static bool qWaitFor(Functor predicate, int timeout = 5000)
return predicate(); // Last chance
}
-inline void qWait(int ms)
-{
- (void)qWaitFor([]() { return false; }, ms);
-}
+Q_CORE_EXPORT void qWait(int ms);
} // namespace QTest