diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2015-04-03 12:27:06 +0300 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2015-04-03 12:27:06 +0300 |
commit | 71d9f230686af03362fcc48407b53016fb1e2757 (patch) | |
tree | 74946d20407fac37910ccb545cd0e549ae1c4dbf /src | |
parent | 9f7aed760218eb7039251870e7339d6838925017 (diff) |
theme: fix compilation of libsync without QtGui
Diffstat (limited to 'src')
-rw-r--r-- | src/libsync/theme.h | 4 |
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 }; } |