ProjectExplorer: Display full path for make steps

Including the bits related to remote devices.

Change-Id: Ia5b94edf43c9f33849a715263e280fd88815fabe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2021-04-27 16:40:39 +02:00
parent 3cad2b8c74
commit e00bd017a9

View File

@@ -111,10 +111,10 @@ MakeStep::MakeStep(BuildStepList *parent, Id id)
m_buildTargetsAspect->setLabelText(tr("Targets:"));
const auto updateMakeLabel = [this] {
const QString defaultMake = defaultMakeCommand().toString();
const FilePath defaultMake = defaultMakeCommand();
const QString labelText = defaultMake.isEmpty()
? tr("Make:")
: tr("Override %1:").arg(QDir::toNativeSeparators(defaultMake));
: tr("Override %1:").arg(defaultMake.toUserOutput());
m_makeCommandAspect->setLabelText(labelText);
};