Skip to content

Commit 53852c4

Browse files
committed
Ensure file names are normalized when converted from std::filesystem::path
Fixes: #606
1 parent b6a3052 commit 53852c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsync/common/filesystembase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ QString FileSystem::fromFilesystemPath(const std::filesystem::path &path)
7070
}
7171
return QString::fromStdWString(nativePath);
7272
#else
73-
return QString::fromStdString(path.native());
73+
return QFile::decodeName(path.native().c_str());
7474
#endif
7575
}
7676

0 commit comments

Comments
 (0)