forked from qt-creator/qt-creator
ProjectExplorer: Remove IRunConfigurationAspect::runConfiguration
... and adapt constructors to not take the now-unneeded RunConfiguration pointer. Change-Id: I53ff338f51334ff7b0c22d4bed92bfcfc8225ea7 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -56,10 +56,7 @@ using namespace Utils;
|
||||
|
||||
namespace Android {
|
||||
|
||||
BaseStringListAspect::BaseStringListAspect(RunConfiguration *runConfig,
|
||||
const QString &settingsKey,
|
||||
Core::Id id)
|
||||
: IRunConfigurationAspect(runConfig)
|
||||
BaseStringListAspect::BaseStringListAspect(const QString &settingsKey, Core::Id id)
|
||||
{
|
||||
setSettingsKey(settingsKey);
|
||||
setId(id);
|
||||
|
||||
@@ -39,8 +39,7 @@ class BaseStringListAspect : public ProjectExplorer::IRunConfigurationAspect
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit BaseStringListAspect(ProjectExplorer::RunConfiguration *rc,
|
||||
const QString &settingsKey = QString(),
|
||||
explicit BaseStringListAspect(const QString &settingsKey = QString(),
|
||||
Core::Id id = Core::Id());
|
||||
~BaseStringListAspect() override;
|
||||
|
||||
|
||||
@@ -32,8 +32,7 @@ enum BaseEnvironmentBase {
|
||||
|
||||
namespace Android {
|
||||
|
||||
AndroidRunEnvironmentAspect::AndroidRunEnvironmentAspect(ProjectExplorer::RunConfiguration *rc) :
|
||||
ProjectExplorer::EnvironmentAspect (rc)
|
||||
AndroidRunEnvironmentAspect::AndroidRunEnvironmentAspect()
|
||||
{
|
||||
addSupportedBaseEnvironment(CleanEnvironmentBase, tr("Clean Environment"));
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ class AndroidRunEnvironmentAspect : public ProjectExplorer::EnvironmentAspect
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
AndroidRunEnvironmentAspect(ProjectExplorer::RunConfiguration *rc);
|
||||
AndroidRunEnvironmentAspect();
|
||||
|
||||
Utils::Environment baseEnvironment() const override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user