winrt: remove superfluous code
We do not need to check for an invalid timer id, as this can only happen if the above check is already true. Hence, this was doing the same check twice. Task-number: QTBUG-56756 Change-Id: Icca9b26c32ce88eab76dd02c6c10b24af07bfad7 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>bb10
parent
0383d0be33
commit
c83ba01f7b
|
|
@ -532,9 +532,6 @@ bool QEventDispatcherWinRT::event(QEvent *e)
|
|||
if (id >= d->timerInfos.size())
|
||||
break;
|
||||
|
||||
if (info.timerId == INVALID_TIMER_ID)
|
||||
break;
|
||||
|
||||
if (info.interval == 0 && info.inEvent) {
|
||||
// post the next zero timer event as long as the timer was not restarted
|
||||
QCoreApplication::postEvent(this, new QTimerEvent(id));
|
||||
|
|
|
|||
Loading…
Reference in New Issue