diff options
author | hjk <hjk@qt.io> | 2022-11-29 15:15:12 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-11-30 06:57:02 +0000 |
commit | 4417c48e7b8f9564bb780b14b6ddfb9a209b7c87 (patch) | |
tree | aa45a4c9805dfcf1538ad9e5ccd0ff9eae85033b /src/plugins/webassembly/webassemblyrunconfiguration.cpp | |
parent | b183efc94ac0e5df2bc1c9892eedde5e499c415e (diff) | |
download | qt-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/webassembly/webassemblyrunconfiguration.cpp')
-rw-r--r-- | src/plugins/webassembly/webassemblyrunconfiguration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/webassembly/webassemblyrunconfiguration.cpp b/src/plugins/webassembly/webassemblyrunconfiguration.cpp index bdbc58e7ed..3e741378ca 100644 --- a/src/plugins/webassembly/webassemblyrunconfiguration.cpp +++ b/src/plugins/webassembly/webassemblyrunconfiguration.cpp @@ -45,7 +45,7 @@ static CommandLine emrunCommand(const Target *target, const FilePath emrun = env.searchInPath("emrun"); const FilePath emrunPy = emrun.absolutePath().pathAppended(emrun.baseName() + ".py"); const FilePath targetPath = bc->buildSystem()->buildTarget(buildKey).targetFilePath; - const FilePath html = targetPath.absolutePath() / targetPath.baseName() + ".html"; + const FilePath html = targetPath.absolutePath() / (targetPath.baseName() + ".html"); QStringList args(emrunPy.path()); if (!browser.isEmpty()) { |