forked from qt-creator/qt-creator
ProjectExplorer: Remove Run{Control,Configuration}::abi
Unused now, and arguably not a valid concept anymore. A run control may consist of different runworkers, 'operating' on different systems. Since the removed RunConfiguration::abi() implementation uses only public Target ABI, user code could revive that locally in case it was needed again. Change-Id: I658c6e88b4a1aec18bf4de91fc86230552bc0710 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -310,17 +310,6 @@ QVariantMap RunConfiguration::toMap() const
|
||||
return map;
|
||||
}
|
||||
|
||||
Abi RunConfiguration::abi() const
|
||||
{
|
||||
BuildConfiguration *bc = target()->activeBuildConfiguration();
|
||||
if (!bc)
|
||||
return Abi::hostAbi();
|
||||
ToolChain *tc = ToolChainKitInformation::toolChain(target()->kit(), Constants::CXX_LANGUAGE_ID);
|
||||
if (!tc)
|
||||
return Abi::hostAbi();
|
||||
return tc->targetAbi();
|
||||
}
|
||||
|
||||
BuildTargetInfo RunConfiguration::buildTargetInfo() const
|
||||
{
|
||||
return target()->applicationTargets().buildTargetInfo(m_buildKey);
|
||||
@@ -1334,13 +1323,6 @@ Utils::Icon RunControl::icon() const
|
||||
return d->icon;
|
||||
}
|
||||
|
||||
Abi RunControl::abi() const
|
||||
{
|
||||
if (const RunConfiguration *rc = d->runConfiguration.data())
|
||||
return rc->abi();
|
||||
return Abi();
|
||||
}
|
||||
|
||||
IDevice::ConstPtr RunControl::device() const
|
||||
{
|
||||
return d->device;
|
||||
|
||||
Reference in New Issue
Block a user