diff options
author | hjk <hjk@qt.io> | 2018-05-03 18:15:49 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-06-05 15:08:29 +0000 |
commit | 0fbb2839f92b001414d1eed2ae2627cf421fd34f (patch) | |
tree | ceffb29d5f2e3faf2fc12f5dc4612af652bf32e3 /src/plugins/projectexplorer/applicationlauncher.h | |
parent | d384e2398a21608282cb137aa039707a84c80b4e (diff) | |
download | qt-creator-0fbb2839f92b001414d1eed2ae2627cf421fd34f.tar.gz |
Remove ApplicationLauncher::Mode
The actual remaining use was to pop up a terminal in some
setups where Mode == Console, with a default of Gui meaning
"no console". In some downstream uses it was used set to
Console (probably to mean "this helper process does not need
a gui") but then luckily ignored when actually starting the
helper processes.
All cases where the console is useful and requested are
nowadays RunWorkers belonging to RunConfigurations with
a TerminalAspect, so they can directly get the relevant bit
from their RunConfiguration without having it part of
all StandardRunnables.
Change-Id: I1368d5968da5cf672656aebf200ccac8d45335d0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.h')
-rw-r--r-- | src/plugins/projectexplorer/applicationlauncher.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.h b/src/plugins/projectexplorer/applicationlauncher.h index a321c2214d..29e8ef3961 100644 --- a/src/plugins/projectexplorer/applicationlauncher.h +++ b/src/plugins/projectexplorer/applicationlauncher.h @@ -47,15 +47,11 @@ class PROJECTEXPLORER_EXPORT ApplicationLauncher : public QObject Q_OBJECT public: - enum Mode { - Console, - Gui - }; - explicit ApplicationLauncher(QObject *parent = nullptr); ~ApplicationLauncher() override; void setProcessChannelMode(QProcess::ProcessChannelMode mode); + void setUseTerminal(bool on); void start(const Runnable &runnable); void start(const Runnable &runnable, const IDevice::ConstPtr &device); void stop(); |