From kde-commits Sat Dec 12 15:26:37 2009 From: Sujith Haridasan Date: Sat, 12 Dec 2009 15:26:37 +0000 To: kde-commits Subject: KDE/kdeplasma-addons/applets/timer Message-Id: <1260631597.997792.11405.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=126063160530355 SVN commit 1061638 by sujithh: The applet was saving the last starting time. Which doesn't look fine. Hence making the applet start from zero, when the plasma-desktop restarts. M +1 -1 timer.cpp --- trunk/KDE/kdeplasma-addons/applets/timer/timer.cpp #1061637:1061638 @@ -361,7 +361,7 @@ KConfigGroup cg = config(); cg.writeEntry("running", m_running ? m_seconds : 0); cg.writeEntry("startedAt", QDateTime::currentDateTime()); - cg.writeEntry("seconds", m_startingSeconds); + cg.writeEntry("seconds", 0); emit configNeedsSaving(); }