summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/projectexplorer.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-11-29 15:15:12 +0100
committerhjk <hjk@qt.io>2022-11-30 06:57:02 +0000
commit4417c48e7b8f9564bb780b14b6ddfb9a209b7c87 (patch)
treeaa45a4c9805dfcf1538ad9e5ccd0ff9eae85033b /src/plugins/projectexplorer/projectexplorer.cpp
parentb183efc94ac0e5df2bc1c9892eedde5e499c415e (diff)
downloadqt-creator-4417c48e7b8f9564bb780b14b6ddfb9a209b7c87.tar.gz
Utils: Remove FilePath::operator+()
This was a alias for .stringAppended(), but can be used too easily when .pathAppended() is meant. Change-Id: Ia3b64d39828d4074b43d87c923ce3a6a87038948 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/projectexplorer/projectexplorer.cpp')
-rw-r--r--src/plugins/projectexplorer/projectexplorer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp
index dc31ba12fa..75cf8aea01 100644
--- a/src/plugins/projectexplorer/projectexplorer.cpp
+++ b/src/plugins/projectexplorer/projectexplorer.cpp
@@ -2260,7 +2260,7 @@ void ProjectExplorerPlugin::extensionsInitialized()
.searchInPath(gitBinary, gitSearchPaths);
if (!fullGitPath.isEmpty()) {
searchPaths << fullGitPath.parentDir()
- << fullGitPath.parentDir().parentDir() + "/usr/bin";
+ << fullGitPath.parentDir().parentDir().pathAppended("usr/bin");
}
}
return searchPaths;