prevent starting a QTimer with a negative interval

Review Request #120800 - Created Oct. 25, 2014 and submitted

Information
René J.V. Bertin
akonadi
1.13
Reviewers
akonadi, kde-mac

After waking my Mac from (a night's) sleep, I noticed a quickly repeating error message about starting a QTimer with a negative interval. I could trace this to the PausableTimer instance in collectionscheduler.cpp .
The attached patch prevents the error condition by clipping the calculated remaining time interval to 0 .
I've left a debug statement that can of course doesn't need to be committed.

On OS X 10.6.8 with kdelibs 4.14.2 and kdepim* 4.13.3

Issues

  • 0
  • 3
  • 2
  • 5
Description From Last Updated
Daniel Vrátil
David Faure
René J.V. Bertin
René J.V. Bertin
René J.V. Bertin
Daniel Vrátil
René J.V. Bertin
Daniel Vrátil
René J.V. Bertin
Daniel Vrátil
René J.V. Bertin
Review request changed

Status: Closed (submitted)

Loading...