aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/applicationlauncher.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-02-15 12:44:04 +0100
committerhjk <hjk@qt.io>2022-02-15 13:43:09 +0000
commit47957de2dcef70b644290c0d6b35f07837160e8a (patch)
tree9cb2e887865b113defa30a56a8e6724a97e9f7b9 /src/plugins/projectexplorer/applicationlauncher.h
parent13ed522d8d1beba4609c7ae02eceb5240fe18009 (diff)
ProjectExplorer: Split ApplicationLauncher::start() parameters
There's traditionally an odd duplication of the runnable.device and the passed device here. Start disentangling things. Change-Id: I1cc1628c99cea04d761fc4d8dd0cb232127ce055 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.h')
-rw-r--r--src/plugins/projectexplorer/applicationlauncher.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.h b/src/plugins/projectexplorer/applicationlauncher.h
index 86b9c6f3cf..1582d5906c 100644
--- a/src/plugins/projectexplorer/applicationlauncher.h
+++ b/src/plugins/projectexplorer/applicationlauncher.h
@@ -55,8 +55,10 @@ public:
void setProcessChannelMode(QProcess::ProcessChannelMode mode);
void setUseTerminal(bool on);
void setRunAsRoot(bool on);
- void start(const Runnable &runnable);
- void start(const Runnable &runnable, const IDevice::ConstPtr &device);
+ void setRunnable(const Runnable &runnable);
+
+ void start();
+ void start(const IDevice::ConstPtr &device);
void stop();
bool isRunning() const;
Utils::ProcessHandle applicationPID() const;