forked from qt-creator/qt-creator
ProjectExplorer: Remove now-unused RunControl::runConfiguration
Change-Id: I312277813763d264dc7904042bbe6005350c3870 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -310,7 +310,6 @@ public:
|
||||
IDevice::ConstPtr device;
|
||||
Utils::Icon icon;
|
||||
const MacroExpander *macroExpander = nullptr;
|
||||
QPointer<RunConfiguration> runConfiguration; // Not owned. Avoid use.
|
||||
AspectContainerData aspectData;
|
||||
QString buildKey;
|
||||
QMap<Utils::Id, QVariantMap> settingsData;
|
||||
@@ -399,8 +398,6 @@ void RunControl::copyFromRunControl(RunControl *runControl)
|
||||
void RunControl::setRunConfiguration(RunConfiguration *runConfig)
|
||||
{
|
||||
QTC_ASSERT(runConfig, return);
|
||||
QTC_CHECK(!d->runConfiguration);
|
||||
d->runConfiguration = runConfig;
|
||||
d->runConfigId = runConfig->id();
|
||||
d->runnable = runConfig->runnable();
|
||||
d->displayName = runConfig->expandedDisplayName();
|
||||
@@ -928,11 +925,6 @@ IDevice::ConstPtr RunControl::device() const
|
||||
return d->device;
|
||||
}
|
||||
|
||||
RunConfiguration *RunControl::runConfiguration() const
|
||||
{
|
||||
return d->runConfiguration.data();
|
||||
}
|
||||
|
||||
Target *RunControl::target() const
|
||||
{
|
||||
return d->target;
|
||||
|
@@ -225,7 +225,6 @@ public:
|
||||
void setApplicationProcessHandle(const Utils::ProcessHandle &handle);
|
||||
IDeviceConstPtr device() const;
|
||||
|
||||
RunConfiguration *runConfiguration() const; // FIXME: Remove.
|
||||
// FIXME: Try to cut down to amount of functions.
|
||||
Target *target() const;
|
||||
Project *project() const;
|
||||
|
Reference in New Issue
Block a user