The conditional statement is missing parentheses
Add a ')' to the judgment statement. Change-Id: Iadfdfb7643bc5224cb3029a2abb42c3c14982eef Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
parent
d16b171f1b
commit
02bc441553
@ -53,7 +53,7 @@
|
||||
{
|
||||
QDeadlineTimer deadline(msecs);
|
||||
do {
|
||||
if (readFromDevice(deadline.remainingTime())
|
||||
if (readFromDevice(deadline.remainingTime()))
|
||||
break;
|
||||
waitForReadyRead(deadline);
|
||||
} while (!deadline.hasExpired());
|
||||
|
Loading…
x
Reference in New Issue
Block a user