fix a bug where the interval of the auto-away timer was not correctly set.
authorMartin Blumenstingl <darklight.xdarklight@googlemail.com>
Sat, 1 May 2010 17:21:29 +0000 (19:21 +0200)
committerMartin Blumenstingl <darklight.xdarklight@googlemail.com>
Sat, 1 May 2010 17:21:29 +0000 (19:21 +0200)
commitd95e0e4fedd8639b34e7a70db660c5fe1e10270d
treedad21bd08bea09baea5688e735c0d2d699da78b1
parent4e0f00b7cd946deafad80c5b1b892c645d713165
fix a bug where the interval of the auto-away timer was not correctly set.
if the user was already idle on startup then we're smart and we're adding a timer with the remaining time (until the auto-away time is elapsed). unfortunately the interval of the timer was not reset properly if the user returned before the timer fired.
src/awaymanagerkidletime.cpp
src/awaymanagerkidletime.h