diff options
author | hjk <hjk@qt.io> | 2018-04-16 11:49:25 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-04-24 07:26:22 +0000 |
commit | def04e88a2dcd9c5920e55618cc7222a5addb42c (patch) | |
tree | 11a9e90c47164c6653f709015518f60d10d42700 /src/plugins/pythoneditor/pythoneditorplugin.cpp | |
parent | d6af336a7eae6cfcc06cabc4d15abaf08c2a7fd9 (diff) | |
download | qt-creator-def04e88a2dcd9c5920e55618cc7222a5addb42c.tar.gz |
Simplify runconfiguration aspect addTo... interface
The parent widget is always given by the layout, no need to pass
it as separate parameter.
Change-Id: I9e7ed3a89eb63b78a549471d839060131737ff78
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
-rw-r--r-- | src/plugins/pythoneditor/pythoneditorplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp index c579b8526a..c5aa2e1eb8 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.cpp +++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp @@ -338,8 +338,8 @@ PythonRunConfigurationWidget::PythonRunConfigurationWidget(PythonRunConfiguratio fl->addRow(PythonRunConfiguration::tr("Interpreter: "), interpreterChooser); fl->addRow(PythonRunConfiguration::tr("Script: "), scriptLabel); - runConfiguration->extraAspect<ArgumentsAspect>()->addToMainConfigurationWidget(this, fl); - runConfiguration->extraAspect<TerminalAspect>()->addToMainConfigurationWidget(this, fl); + runConfiguration->extraAspect<ArgumentsAspect>()->addToConfigurationLayout(fl); + runConfiguration->extraAspect<TerminalAspect>()->addToConfigurationLayout(fl); connect(runConfiguration->target(), &Target::applicationTargetsChanged, this, [this, scriptLabel] { scriptLabel->setText(QDir::toNativeSeparators(m_runConfiguration->mainScript())); |