Fix spelling in qWaitFor comment

Change-Id: I0ac67de3371ee36c21e124e88845aaae63a73f6e
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
bb10
Tor Arne Vestbø 2017-10-11 11:22:36 +02:00 committed by Gatis Paeglis
parent 5e71f40a34
commit f3a21f267f
1 changed files with 1 additions and 1 deletions

View File

@ -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;