Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJocelyn Turcotte <jturcotte@woboq.com>2016-02-08 15:27:44 +0300
committerJocelyn Turcotte <jturcotte@woboq.com>2016-02-08 15:30:08 +0300
commitf140d3447c43e64626fb70194b65e727925b5181 (patch)
tree54e00cea5952bbd5a41ce7c00e72c71e99a29b34 /src/gui/folderwatcher_mac.cpp
parent6b643c7501be0802b82334d220c0f60a132f7770 (diff)
OS X: Fix the file system watcher ignoring unicode paths #4424
Add a missing string normalization when fetching the path from the file system event.
Diffstat (limited to 'src/gui/folderwatcher_mac.cpp')
-rw-r--r--src/gui/folderwatcher_mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folderwatcher_mac.cpp b/src/gui/folderwatcher_mac.cpp
index 9a165387f..ada7f1064 100644
--- a/src/gui/folderwatcher_mac.cpp
+++ b/src/gui/folderwatcher_mac.cpp
@@ -63,7 +63,7 @@ static void callback(
qstring.resize(pathLength);
CFStringGetCharacters(path, CFRangeMake(0, pathLength), reinterpret_cast<UniChar *>(qstring.data()));
- paths.append(qstring);
+ paths.append(qstring.normalized(QString::NormalizationForm_C));
}
reinterpret_cast<FolderWatcherPrivate*>(clientCallBackInfo)->doNotifyParent(paths);