[Pkg-owncloud-commits] [owncloud-client] 40/69: Windows Overlay: Fix icon refresh
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Nov 7 19:41:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 19daff36b0eb8a7702d4129e7db47fd65415315f
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Mon Nov 3 20:46:35 2014 +0100
Windows Overlay: Fix icon refresh
The condition for the refresh was inverse of what it should have been.
---
.../windows/OCShellExtensions/OCUtil/RemotePathChecker.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell_integration/windows/OCShellExtensions/OCUtil/RemotePathChecker.cpp b/shell_integration/windows/OCShellExtensions/OCUtil/RemotePathChecker.cpp
index 239075c..7dcebff 100644
--- a/shell_integration/windows/OCShellExtensions/OCUtil/RemotePathChecker.cpp
+++ b/shell_integration/windows/OCShellExtensions/OCUtil/RemotePathChecker.cpp
@@ -118,7 +118,7 @@ void RemotePathChecker::workerThreadLoop()
bool changed = false;
{ std::unique_lock<std::mutex> lock(_mutex);
auto &it = _cache[responsePath];
- changed = it == state;
+ changed = (it != state);
it = state;
}
if (changed) {
--
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