[Pkg-owncloud-commits] [owncloud-client] 66/159: theme: fix compilation of libsync without QtGui

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri May 1 13:05:23 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 71d9f230686af03362fcc48407b53016fb1e2757
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Fri Apr 3 11:27:06 2015 +0200

    theme: fix compilation of libsync without QtGui
---
 src/libsync/theme.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/libsync/theme.h b/src/libsync/theme.h
index 7974b76..7cf4b75 100644
--- a/src/libsync/theme.h
+++ b/src/libsync/theme.h
@@ -196,7 +196,9 @@ public:
     virtual bool wizardSelectiveSyncDefaultNothing() const;
 
 protected:
+#ifndef TOKEN_AUTH_ONLY
     QIcon themeIcon(const QString& name, bool sysTray = false) const;
+#endif
     Theme();
 
 signals:
@@ -208,7 +210,9 @@ private:
 
     static Theme* _instance;
     bool _mono;
+#ifndef TOKEN_AUTH_ONLY
     mutable QHash<QString, QIcon> _iconCache;
+#endif
 };
 
 }

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