[Pkg-owncloud-commits] [owncloud-client] 77/94: Theme: Icon cache explanation
Sandro Knauß
hefee at debian.org
Thu Mar 29 11:12:16 UTC 2018
This is an automated email from the git hooks/post-receive script.
hefee pushed a commit to branch upstream
in repository owncloud-client.
commit b5e129aa6bc67558d362fbf000338327e98706a7
Author: Markus Goetz <markus at woboq.com>
Date: Mon Feb 12 17:11:12 2018 +0100
Theme: Icon cache explanation
---
src/libsync/theme.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libsync/theme.cpp b/src/libsync/theme.cpp
index 6c2279d..a778131 100644
--- a/src/libsync/theme.cpp
+++ b/src/libsync/theme.cpp
@@ -127,7 +127,7 @@ QIcon Theme::themeIcon(const QString &name, bool sysTray, bool sysTrayMenuVisibl
}
QString key = name + "," + flavor;
- QIcon &cached = _iconCache[key];
+ QIcon &cached = _iconCache[key]; // Take reference, this will also "set" the cache entry
if (cached.isNull()) {
if (QIcon::hasThemeIcon(name)) {
// use from theme
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list