Ticket #46496: debug-negative-qtimerint.patch
File debug-negative-qtimerint.patch, 539 bytes (added by RJVB (René Bertin), 10 years ago) |
---|
-
qtbase/src/corelib/kernel/qobject.cpp
diff --git qtbase/src/corelib/kernel/qobject.cpp qtbase/src/corelib/kernel/qobject.cpp index e588808..f0e2d7c 100644
int QObject::startTimer(int interval, Qt::TimerType timerType) 1605 1605 Q_D(QObject); 1606 1606 1607 1607 if (interval < 0) { 1608 qWarning( "QObject::startTimer: Timers cannot have negative intervals");1608 qWarning() << "QObject::startTimer: Timer" << this << "cannot have a negative interval"; 1609 1609 return 0; 1610 1610 } 1611 1611