forked from qt-creator/qt-creator
ProjectExplorer: Add RunControl::set{Kit,Target}
For cases where no genuine RunConfiguration is available. Use it in the debugger for the cases triggered from the menu. Change-Id: I5671f4f5db2547c4a7a70bd34292bb6ccc8e6bf4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -47,9 +47,9 @@ class DEBUGGER_EXPORT DebuggerRunTool : public ProjectExplorer::RunWorker
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
enum AllowTerminal { DoAllowTerminal, DoNotAllowTerminal };
|
||||
explicit DebuggerRunTool(ProjectExplorer::RunControl *runControl,
|
||||
ProjectExplorer::Kit *kit = nullptr,
|
||||
bool allowTerminal = true);
|
||||
AllowTerminal allowTerminal = DoAllowTerminal);
|
||||
~DebuggerRunTool() override;
|
||||
|
||||
void startRunControl();
|
||||
|
||||
Reference in New Issue
Block a user