[Pkg-owncloud-commits] [owncloud-client] 211/218: Updater: remove unused function

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 17 14:31:10 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 87fa1794a1f11bb48b864f76dbe812fab14a151b
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Fri Oct 16 09:55:51 2015 +0200

    Updater: remove unused function
    
    It was even throwing a warning because it is an infinite recursion
---
 src/gui/updater/updater.cpp | 5 -----
 src/gui/updater/updater.h   | 3 ---
 2 files changed, 8 deletions(-)

diff --git a/src/gui/updater/updater.cpp b/src/gui/updater/updater.cpp
index d9d0a66..6794e59 100644
--- a/src/gui/updater/updater.cpp
+++ b/src/gui/updater/updater.cpp
@@ -126,9 +126,4 @@ QString Updater::clientVersion()
     return QString::fromLatin1(MIRALL_STRINGIFY(MIRALL_VERSION_FULL));
 }
 
-int Updater::downloadState() const
-{
-    return instance()->downloadState();
-}
-
 } // namespace OCC
diff --git a/src/gui/updater/updater.h b/src/gui/updater/updater.h
index 746120a..6f3c352 100644
--- a/src/gui/updater/updater.h
+++ b/src/gui/updater/updater.h
@@ -32,9 +32,6 @@ public:
 
     virtual void checkForUpdate() = 0;
     virtual void backgroundCheckForUpdate() = 0;
-
-    int downloadState() const;
-
     virtual bool handleStartup() = 0;
 
 protected:

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