[SCM] ktp-kded-integration-module packaging branch, master, updated. debian/15.12.1-2-382-gbd961c2

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:12:31 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-kded-module.git;a=commitdiff;h=744b4d2

The following commit has been merged in the master branch:
commit 744b4d2ffa77e2a0138f49fdb6f59a15c8092ac1
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Tue Sep 27 17:12:40 2011 +0200

    Use correct time values for auto-away
---
 autoaway.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/autoaway.cpp b/autoaway.cpp
index 596f342..28f6d46 100644
--- a/autoaway.cpp
+++ b/autoaway.cpp
@@ -39,11 +39,11 @@ AutoAway::AutoAway(const Tp::AccountManagerPtr& am, QObject* parent)
     m_accountManager = am;
     if (autoAwayEnabled) {
         int awayTime = kdedConfig.readEntry("awayAfter", 5);
-        m_awayTimeoutId = KIdleTime::instance()->addIdleTimeout(awayTime);
+        m_awayTimeoutId = KIdleTime::instance()->addIdleTimeout(awayTime * 60 * 1000);
     }
     if (autoAwayEnabled && autoXAEnabled) {
         int xaTime = kdedConfig.readEntry("xaAfter", 15);
-        m_extAwayTimeoutId = KIdleTime::instance()->addIdleTimeout(xaTime);
+        m_extAwayTimeoutId = KIdleTime::instance()->addIdleTimeout(xaTime * 60 * 1000);
     }
     m_prevPresence = Tp::Presence::available();
 

-- 
ktp-kded-integration-module packaging



More information about the pkg-kde-commits mailing list