diff --git a/src/tools/syncqt/main.cpp b/src/tools/syncqt/main.cpp index 405b4d7b85..6486e0d6fe 100644 --- a/src/tools/syncqt/main.cpp +++ b/src/tools/syncqt/main.cpp @@ -110,7 +110,7 @@ void printInternalError() std::filesystem::path normilizedPath(const std::string &path) { - return std::filesystem::path(std::filesystem::absolute(path).generic_string()); + return std::filesystem::path(std::filesystem::weakly_canonical(path).generic_string()); } }