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:
hjk
2018-09-12 10:43:10 +02:00
parent c763d4d787
commit 32ba65c7f8
32 changed files with 64 additions and 92 deletions

View File

@@ -71,7 +71,7 @@ static bool caseInsensitiveLessThan(const QString &s1, const QString &s2)
class MainQmlFileAspect : public IRunConfigurationAspect
{
public:
MainQmlFileAspect(RunConfiguration *rc, QmlProject *project);
explicit MainQmlFileAspect(QmlProject *project);
~MainQmlFileAspect() { delete m_fileListCombo; }
enum MainScriptSource {
@@ -105,8 +105,8 @@ public:
QString m_mainScriptFilename;
};
MainQmlFileAspect::MainQmlFileAspect(RunConfiguration *rc, QmlProject *project)
: IRunConfigurationAspect(rc), m_project(project)
MainQmlFileAspect::MainQmlFileAspect(QmlProject *project)
: m_project(project)
{
m_scriptFile = M_CURRENT_FILE;