aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <[email protected]>2014-10-14 19:08:58 +0300
committerhjk <[email protected]>2014-10-14 18:19:38 +0200
commit1ff1b8dbfdefba6a64d58692aacce9a90e44d665 (patch)
treefe495b837c2200e4e09c126f2c67227a28fbaba4 /src/plugins/debugger/debuggerplugin.cpp
parentbb497cece25ea7e98569603a91b4517b2edc6852 (diff)
Debugger: Remove unused values from DebuggerStartMode
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp24
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);