diff options
author | hjk <hjk@qt.io> | 2018-05-16 15:42:03 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-05-23 08:48:36 +0000 |
commit | 36b835ff0ac1f6ab7b2ae8aab789352a9e297c21 (patch) | |
tree | b3a63ee0ba58ca3bcfdb7631963f452c3658b8c3 /src/plugins/pythoneditor/pythoneditorplugin.cpp | |
parent | fdccc542754bc5361b8391ecd3902a88a84ab3cf (diff) | |
download | qt-creator-36b835ff0ac1f6ab7b2ae8aab789352a9e297c21.tar.gz |
Finish merging Runnable and StandardRunnable
As all Runnables are known to be StandardRunnables, this here
essentially replaces all .is<StandardRunnable> by 'true'.
.as<StandardRunnable> by no-op, and fixes the fallout.
Change-Id: I1632f8e164fa0a9dff063df47a9e191fdf7bbb2e
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
-rw-r--r-- | src/plugins/pythoneditor/pythoneditorplugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp index 782d96049b..f3375a67c9 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.cpp +++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp @@ -43,7 +43,6 @@ #include <projectexplorer/project.h> #include <projectexplorer/projectmanager.h> #include <projectexplorer/projectnodes.h> -#include <projectexplorer/runnables.h> #include <projectexplorer/target.h> #include <projectexplorer/task.h> #include <projectexplorer/taskhub.h> @@ -296,7 +295,7 @@ void PythonRunConfiguration::fillConfigurationLayout(QFormLayout *layout) const Runnable PythonRunConfiguration::runnable() const { - StandardRunnable r; + Runnable r; QtcProcess::addArg(&r.commandLineArguments, mainScript()); QtcProcess::addArgs(&r.commandLineArguments, extraAspect<ArgumentsAspect>()->arguments()); r.executable = extraAspect<InterpreterAspect>()->value(); |