forked from qt-creator/qt-creator
ProjectExplorer: Remove startRunControl()'s runMode parameter
It is redundant, as a RunControl has a runMode() getter. Change-Id: Ia048b271a5003356d21f86a3f778827d23466037 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -3330,7 +3330,7 @@ void GdbEngine::handleMakeSnapshot(const DebuggerResponse &response, const QStri
|
||||
rp.isSnapshot = true;
|
||||
auto rc = new DebuggerRunControl(runControl()->runConfiguration(), ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
||||
(void) new DebuggerRunTool(rc, rp);
|
||||
ProjectExplorerPlugin::startRunControl(rc, ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
||||
ProjectExplorerPlugin::startRunControl(rc);
|
||||
} else {
|
||||
QString msg = response.data["msg"].data();
|
||||
AsynchronousMessageBox::critical(tr("Snapshot Creation Error"),
|
||||
|
||||
Reference in New Issue
Block a user