Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-04-03 12:27:06 +0300
committerOlivier Goffart <ogoffart@woboq.com>2015-04-03 12:27:06 +0300
commit71d9f230686af03362fcc48407b53016fb1e2757 (patch)
tree74946d20407fac37910ccb545cd0e549ae1c4dbf /src
parent9f7aed760218eb7039251870e7339d6838925017 (diff)
theme: fix compilation of libsync without QtGui
Diffstat (limited to 'src')
-rw-r--r--src/libsync/theme.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsync/theme.h b/src/libsync/theme.h
index 7974b7668..7cf4b7599 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
};
}