From f140d3447c43e64626fb70194b65e727925b5181 Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Mon, 8 Feb 2016 13:27:44 +0100 Subject: [PATCH] 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. --- src/gui/folderwatcher_mac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(qstring.data())); - paths.append(qstring); + paths.append(qstring.normalized(QString::NormalizationForm_C)); } reinterpret_cast(clientCallBackInfo)->doNotifyParent(paths); -- 2.30.2