From 2edee4868ceb74131bd76bef0c345aca9b9e1e01 Mon Sep 17 00:00:00 2001 From: firewave Date: Thu, 29 Aug 2024 14:17:49 +0200 Subject: [PATCH] cmdlineparser.cpp: removed unnecessary `Path::fromNativeSeparators()` call this is also done in `Path::simplifyPath()` --- cli/cmdlineparser.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 06543326757..9634ecd61b4 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -745,7 +745,6 @@ CmdLineParser::Result CmdLineParser::parseFromArgs(int argc, const char* const a if (!path.empty()) { path = Path::removeQuotationMarks(std::move(path)); - path = Path::fromNativeSeparators(std::move(path)); path = Path::simplifyPath(std::move(path)); // TODO: this only works when it exists