diff options
author | Orgad Shaneh <[email protected]> | 2014-10-14 19:08:58 +0300 |
---|---|---|
committer | hjk <[email protected]> | 2014-10-14 18:19:38 +0200 |
commit | 1ff1b8dbfdefba6a64d58692aacce9a90e44d665 (patch) | |
tree | fe495b837c2200e4e09c126f2c67227a28fbaba4 /src/plugins/debugger/debuggerplugin.cpp | |
parent | bb497cece25ea7e98569603a91b4517b2edc6852 (diff) |
Debugger: Remove unused values from DebuggerStartMode
Change-Id: I84ec3dea504e51bb925c925564aa9b5c84133fbf
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 6e40f64afa7..4094e2f76b5 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -867,7 +867,6 @@ public slots: void continueOnAttach(Debugger::DebuggerState state); void attachExternalApplication(ProjectExplorer::RunControl *rc); void attachToQmlPort(); - void startRemoteEngine(); void runScheduled(); void attachCore(); @@ -1812,29 +1811,6 @@ void DebuggerPluginPrivate::attachToQmlPort() DebuggerRunControlFactory::createAndScheduleRun(sp); } -void DebuggerPluginPrivate::startRemoteEngine() -{ - DebuggerStartParameters sp; - StartRemoteEngineDialog dlg(ICore::mainWindow()); - if (dlg.exec() != QDialog::Accepted) - return; - - sp.connParams.host = dlg.host(); - sp.connParams.userName = dlg.username(); - sp.connParams.password = dlg.password(); - - sp.connParams.timeout = 5; - sp.connParams.authenticationType - = QSsh::SshConnectionParameters::AuthenticationTypeTryAllPasswordBasedMethods; - sp.connParams.port = 22; - sp.connParams.options = QSsh::SshIgnoreDefaultProxy; - - sp.executable = dlg.inferiorPath(); - sp.serverStartScript = dlg.enginePath(); - sp.startMode = StartRemoteEngine; - DebuggerRunControlFactory::createAndScheduleRun(sp); -} - void DebuggerPluginPrivate::enableReverseDebuggingTriggered(const QVariant &value) { QTC_ASSERT(m_reverseToolButton, return); |