forked from qt-creator/qt-creator
Debugger: Remove unused values from DebuggerStartMode
Change-Id: I84ec3dea504e51bb925c925564aa9b5c84133fbf Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user