From 71d9f230686af03362fcc48407b53016fb1e2757 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Fri, 3 Apr 2015 11:27:06 +0200 Subject: [PATCH] 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 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 _iconCache; +#endif }; } -- 2.30.2