aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2018-05-03 18:15:49 +0200
committerhjk <[email protected]>2018-06-05 15:08:29 +0000
commit0fbb2839f92b001414d1eed2ae2627cf421fd34f (patch)
treeceffb29d5f2e3faf2fc12f5dc4612af652bf32e3 /src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
parentd384e2398a21608282cb137aa039707a84c80b4e (diff)
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 <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp b/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
index 18688ce367e..d2ee9434d18 100644
--- a/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilerruncontrol.cpp
@@ -260,7 +260,6 @@ LocalQmlProfilerSupport::LocalQmlProfilerSupport(QmlProfilerTool *profilerTool,
arguments += ' ' + debuggee.commandLineArguments;
debuggee.commandLineArguments = arguments;
- debuggee.runMode = ApplicationLauncher::Gui;
setRunnable(debuggee);
}