projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f7aed7
)
theme: fix compilation of libsync without QtGui
author
Olivier Goffart
<ogoffart@woboq.com>
Fri, 3 Apr 2015 09:27:06 +0000
(11:27 +0200)
committer
Olivier Goffart
<ogoffart@woboq.com>
Fri, 3 Apr 2015 09:27:06 +0000
(11:27 +0200)
src/libsync/theme.h
patch
|
blob
|
history
diff --git
a/src/libsync/theme.h
b/src/libsync/theme.h
index 7974b76687d3597641188202ec3c4e34707f9ba0..7cf4b7599831483152d93f117ec91abdb421efb5 100644
(file)
--- 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
};
}