summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-10-11 11:22:36 +0200
committerGatis Paeglis <gatis.paeglis@qt.io>2017-10-12 09:51:27 +0000
commitf3a21f267fad4a27aef874506eebf754c9e72f95 (patch)
treed4f79261186f9c17f60969ce85dd182a9769ced9 /src/testlib
parent5e71f40a348d71f06e8f48cc0dc0c08b4e2a33e9 (diff)
Fix spelling in qWaitFor comment
Change-Id: I0ac67de3371ee36c21e124e88845aaae63a73f6e Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
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 ceab7d86f5..79fe68004e 100644
--- a/src/testlib/qtestsystem.h
+++ b/src/testlib/qtestsystem.h
@@ -57,7 +57,7 @@ namespace QTest
template <typename Functor>
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,
+ // We should not spin the event loop in case the predicate is already true,
// otherwise we might send new events that invalidate the predicate.
if (predicate())
return true;