summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qtestsystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestsystem.h b/src/testlib/qtestsystem.h
index 04c9c574f7..f22a16decb 100644
--- a/src/testlib/qtestsystem.h
+++ b/src/testlib/qtestsystem.h
@@ -55,7 +55,7 @@ QT_BEGIN_NAMESPACE
namespace QTest
{
template <typename Functor>
- static Q_REQUIRED_RESULT bool qWaitFor(Functor predicate, int timeout = 5000)
+ Q_REQUIRED_RESULT static bool qWaitFor(Functor predicate, int timeout = 5000)
{
// We should not spint the event loop in case the predicate is already true,
// otherwise we might send new events that invalidate the predicate.