[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeplasma-addons/applets/timer
From:       Sujith Haridasan <sujith.h () gmail ! com>
Date:       2009-12-12 15:26:37
Message-ID: 1260631597.997792.11405.nullmailer () svn ! kde ! org
[Download RAW message or body]

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();
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic