forked from qt-creator/qt-creator
Utils: add FilePath::baseName
Removing some FilePath::toFileInfo() calls Change-Id: I49be2ef260f225e07b64ee8ace6a8cd47a9d8bb2 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1968,7 +1968,7 @@ TargetInformation QmakeProFile::targetInformation(QtSupport::ProFileReader *read
|
||||
// Target
|
||||
result.target = readerBuildPass->value(QLatin1String("TARGET"));
|
||||
if (result.target.isEmpty())
|
||||
result.target = projectFilePath.toFileInfo().baseName();
|
||||
result.target = projectFilePath.baseName();
|
||||
|
||||
result.valid = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user