[Pkg-owncloud-commits] [owncloud-client] 367/498: Updater: really do not forget to start the updater timer.

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 0a08a51a41ef1c2c481f54a276d7b67c9962cf6c
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Mon Jul 20 15:32:27 2015 +0200

    Updater: really do not forget to start the updater timer.
---
 src/gui/updater/ocupdater.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gui/updater/ocupdater.cpp b/src/gui/updater/ocupdater.cpp
index 35b9c6b..a2882e0 100644
--- a/src/gui/updater/ocupdater.cpp
+++ b/src/gui/updater/ocupdater.cpp
@@ -53,8 +53,9 @@ OCUpdater::OCUpdater(const QUrl &url, QObject *parent) :
     // and set the timer regular interval which is usually large, like 10 hours.
     ConfigFile cfg;
     auto checkInterval = cfg.updateCheckInterval();
-    qDebug() << "Setting up regular update check every " << checkInterval /1000/60 << "seconds";
+    qDebug() << "Setting up regular update check every " << checkInterval /1000/60 << "minutes ";
    _updateCheckTimer->setInterval(checkInterval); // check every couple of hours as defined in config
+   _updateCheckTimer->start();
 }
 
 bool OCUpdater::performUpdate()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list