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

     
    16121612    Q_D(QObject);
    16131613
    16141614    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";
    16161616        return 0;
    16171617    }
    16181618    if (Q_UNLIKELY(!d->threadData->eventDispatcher.load())) {