Bug 336904

Summary: Reset action is partially broken
Product: [Applications] kronometer Reporter: Elvis Angelaccio <elvis.angelaccio>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Elvis Angelaccio 2014-06-30 14:02:35 UTC
There is a particular sequence of actions after which the reset action doesn't work.

Reproducible: Always

Steps to Reproduce:
1. Start the stopwatch
2. Pause the stopwatch
3. Unpase the stopwatch
4. Reset the stopwatch
Actual Results:  
The stopwatch display digits are not zeros.

Expected Results:  
The stopwatch display digits should all be zeros, since the stopwatch is inactive.
Comment 1 Elvis Angelaccio 2014-07-04 08:51:07 UTC
Git commit 2ddb945e942582b1f2d7b75b1f8ae4502b200f85 by Elvis Angelaccio.
Committed on 04/07/2014 at 08:48.
Pushed by elvisangelaccio into branch 'master'.

Fixed bug 336904 by checking if the elapsed timer is valid before to emit the time() signal.

M  +1    -2    stopwatch.cpp

http://commits.kde.org/kronometer/2ddb945e942582b1f2d7b75b1f8ae4502b200f85