Debugger: Do not create a new terminal when attaching

... to a running application that already has one.

Task-number: QTCREATORBUG-19302
Change-Id: Id83f840408c26f3db85dbe30dadac9949ce6b660
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2017-11-16 12:29:25 +01:00
parent ac1ce65a38
commit c1d3e22511
3 changed files with 5 additions and 4 deletions

View File

@@ -47,7 +47,8 @@ class DEBUGGER_EXPORT DebuggerRunTool : public ProjectExplorer::RunWorker
public:
explicit DebuggerRunTool(ProjectExplorer::RunControl *runControl,
ProjectExplorer::Kit *kit = nullptr);
ProjectExplorer::Kit *kit = nullptr,
bool allowTerminal = true);
~DebuggerRunTool();
Internal::DebuggerEngine *engine() const { return m_engine; }