Fix spelling in qWaitFor comment
Change-Id: I0ac67de3371ee36c21e124e88845aaae63a73f6e Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>bb10
parent
5e71f40a34
commit
f3a21f267f
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue