Ticket #46536: debug-negative-qtimerint.patch
File debug-negative-qtimerint.patch, 432 bytes (added by RJVB (René Bertin), 10 years ago) |
---|
-
qtbase/src/corelib/kernel/qobject.cpp
1612 1612 Q_D(QObject); 1613 1613 1614 1614 if (Q_UNLIKELY(interval < 0)) { 1615 qWarning( "QObject::startTimer: Timers cannot have negative intervals");1615 qWarning() << "QObject::startTimer: Timer" << this << "cannot have a negative interval"; 1616 1616 return 0; 1617 1617 } 1618 1618 if (Q_UNLIKELY(!d->threadData->eventDispatcher.load())) {