forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user