[Pkg-owncloud-commits] [owncloud-client] 162/333: OCUpdater: Compare to the current version

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:48 UTC 2014


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 eef57032f8cc3e9bb5bbcdca7594d7e29820a16d
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Tue Mar 18 00:27:29 2014 +0100

    OCUpdater: Compare to the current version
    
    Fixes #1548
---
 src/updater/ocupdater.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/updater/ocupdater.cpp b/src/updater/ocupdater.cpp
index 797d691..e0f7c27 100644
--- a/src/updater/ocupdater.cpp
+++ b/src/updater/ocupdater.cpp
@@ -352,7 +352,7 @@ void PassiveUpdateNotifier::versionInfoArrived(const UpdateInfo &info)
 {
     if( info.version().isEmpty() ||
             Helper::stringVersionToInt(info.version())
-            >= Helper::stringVersionToInt(info.version()))
+            >= Helper::currentVersionToInt() )
     {
         qDebug() << "Client is on latest version!";
         setDownloadState(UpToDate);

-- 
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