forked from qt-creator/qt-creator
ProjectExplorer: Rename BaseStringAspect::{f,setF}ileName
... to filePath and setFilePath. In line with Utils::FilePath. Change-Id: I7115b91876542629c3d61c8259bbd8d9f4022fc1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -85,7 +85,7 @@ MakeInstallStep::MakeInstallStep(BuildStepList *parent) : MakeStep(parent, stepI
|
||||
commandLineAspect->setLabelText(tr("Full command line:"));
|
||||
|
||||
QTemporaryDir tmpDir;
|
||||
installRootAspect->setFileName(FilePath::fromString(tmpDir.path()));
|
||||
installRootAspect->setFilePath(FilePath::fromString(tmpDir.path()));
|
||||
const MakeInstallCommand cmd = target()->makeInstallCommand(tmpDir.path());
|
||||
QTC_ASSERT(!cmd.command.isEmpty(), return);
|
||||
makeAspect->setExecutable(cmd.command);
|
||||
@@ -188,7 +188,7 @@ void MakeInstallStep::stdError(const QString &line)
|
||||
|
||||
FilePath MakeInstallStep::installRoot() const
|
||||
{
|
||||
return static_cast<BaseStringAspect *>(aspect(InstallRootAspectId))->fileName();
|
||||
return static_cast<BaseStringAspect *>(aspect(InstallRootAspectId))->filePath();
|
||||
}
|
||||
|
||||
bool MakeInstallStep::cleanInstallRoot() const
|
||||
@@ -205,7 +205,7 @@ void MakeInstallStep::updateCommandFromAspect()
|
||||
void MakeInstallStep::updateArgsFromAspect()
|
||||
{
|
||||
setUserArguments(QtcProcess::joinArgs(target()->makeInstallCommand(
|
||||
static_cast<BaseStringAspect *>(aspect(InstallRootAspectId))->fileName().toString())
|
||||
static_cast<BaseStringAspect *>(aspect(InstallRootAspectId))->filePath().toString())
|
||||
.arguments));
|
||||
updateFullCommandLine();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user