diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-09-10 09:01:13 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-09-10 20:08:12 +0200 |
commit | e15153a7388f3b1d5e89acb9d2f692007e920591 (patch) | |
tree | c0d3ff70486066d8c4b6a1aa9b83f7731074da09 /tests/auto/testlib/selftests/mouse | |
parent | 219ed70957cc93640a79e1f8098987256efbe212 (diff) |
tst_QTimer::remainingTime(): get rid of QTest::currentTestFailed()
Looks this is redundant in fact and unneeded. The check can never be
evaluated to true, since if so, it would mean it had failed in the
previous iteration, in which we already handled the exit from the loop.
Fixed also some comments.
Task-number: QTBUG-83419
Change-Id: I4fe56bfac39cd58b1166967f3ccb80cdff882748
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/mouse')
0 files changed, 0 insertions, 0 deletions