diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2021-04-24 20:33:40 -0700 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2021-04-30 02:54:42 +0000 |
commit | f5e94444601f85f3cbbebcc3dd9b76d01e60aae3 (patch) | |
tree | 40a59e8b69e9a03729cce517ef401c4e3e8f5edb /src/corelib | |
parent | 21b123f8881d6680208e5b08aee03c95f883b164 (diff) |
QCoreApplication::applicationFilePath: remove redundant cleanPath
QFileInfo::canonicalFilePath below cleans the path anyway.
Change-Id: I7a386ad4f0cb4e2ba629fffd1678fc6f39ddf74a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/kernel/qcoreapplication.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp index 3fbff3cb8c..78d836d4be 100644 --- a/src/corelib/kernel/qcoreapplication.cpp +++ b/src/corelib/kernel/qcoreapplication.cpp @@ -2355,8 +2355,6 @@ QString QCoreApplication::applicationFilePath() */ absPath = QStandardPaths::findExecutable(argv0); } - - absPath = QDir::cleanPath(absPath); } absPath = QFileInfo(absPath).canonicalFilePath(); |