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

List:       kde-commits
Subject:    kdenetwork/knewsticker
From:       Frerich Raabe <raabe () kde ! org>
Date:       2004-04-29 11:06:18
Message-ID: 20040429110618.A5C519A82 () office ! kde ! org
[Download RAW message or body]

CVS commit by raabe: 

- Use KProtocolManager::responseTimeout instead of inventing a new timeout
  value.


  M +2 -2      knewsticker.cpp   1.169


--- kdenetwork/knewsticker/knewsticker.cpp  #1.168:1.169
@@ -24,4 +24,5 @@
 #include <knotifyclient.h>
 #include <kprocess.h>
+#include <kprotocolmanager.h>
 #include <kstandarddirs.h>
 #include <kstartupinfo.h>
@@ -158,6 +159,5 @@ void KNewsTicker::slotUpdateNews()
         m_newNews = false;
 
-        // TODO: Make the update timeout value configurable
-        m_updateTimer->start(30 * 1000, true);
+        m_updateTimer->start(KProtocolManager::responseTimeout(), true);
 
         m_failedNewsUpdates.clear();


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

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