https://bugs.kde.org/show_bug.cgi?id=439998

Elvis Angelaccio <elvis.angelac...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.3.0
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/kronometer/commit/1bc
                   |                            |1a8ade91986df6c10df89f5b598
                   |                            |c866dea4c1
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED

--- Comment #1 from Elvis Angelaccio <elvis.angelac...@kde.org> ---
Git commit 1bc1a8ade91986df6c10df89f5b598c866dea4c1 by Elvis Angelaccio.
Committed on 22/09/2022 at 21:20.
Pushed by elvisangelaccio into branch 'master'.

Fix stopwatch restart after system sleep

m_accumulator was reset to 0 only inside the start() method if the
stopwatch was inactive. But in MainWindow::slotPrepareForSleep() we do
an unconditional pause() on the stopwatch, so this breaks the stopwatch
restart after the system resumes.

The proper fix is to reset m_accumulator inside the reset() method.
FIXED-IN: 2.3.0

M  +1    -0    src/core/stopwatch.cpp

https://invent.kde.org/utilities/kronometer/commit/1bc1a8ade91986df6c10df89f5b598c866dea4c1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to