forked from qt-creator/qt-creator
ProjectExplorer: Replace RunControl::buildTargetInfo
... by two accessors to the only used field. General idea here is to make the presence of a RunConfiguration in a RunControl less prominent to be able to remove it at some time completely, as the configuration's data might change while the control is running. Change-Id: I752540fadd135d6904fc9bf4e3506be074b0c003 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -891,9 +891,14 @@ QString RunControl::buildKey() const
|
||||
return d->runConfiguration ? d->runConfiguration->buildKey() : QString();
|
||||
}
|
||||
|
||||
BuildTargetInfo RunControl::buildTargetInfo() const
|
||||
FilePath RunControl::targetFilePath() const
|
||||
{
|
||||
return d->runConfiguration->buildTargetInfo();
|
||||
return d->runConfiguration->buildTargetInfo().targetFilePath;
|
||||
}
|
||||
|
||||
FilePath RunControl::projectFilePath() const
|
||||
{
|
||||
return d->runConfiguration->buildTargetInfo().projectFilePath;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user