From: Olivier Goffart Date: Fri, 3 Apr 2015 09:27:06 +0000 (+0200) Subject: theme: fix compilation of libsync without QtGui X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~1803^2~230 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=71d9f230686af03362fcc48407b53016fb1e2757;p=nextcloud-desktop.git theme: fix compilation of libsync without QtGui --- 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 }; }