aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/madde/maddedevicetester.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <[email protected]>2012-05-29 13:22:33 +0200
committerChristian Kandeler <[email protected]>2012-05-29 19:07:08 +0200
commit94ab29519b68e4b98701b50ea29ccea2c0522027 (patch)
tree8b90a7cefc903af38d1dec4d066ff56bff26e9af /src/plugins/madde/maddedevicetester.cpp
parent6886dcb787aa0cd94dc1057b3e5be678f8516e04 (diff)
SSH: Use plain pointers to SshConnection objects.
It used to be shared pointers so that existing connection objects could easily be passed around in order not to open a new connection to the same server. Since the introduction of the SshConnectionManager, this is no longer necessary. Change-Id: I13fd3eceaf35d562e6260e9969abbffb01edd6b5 Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/madde/maddedevicetester.cpp')
-rw-r--r--src/plugins/madde/maddedevicetester.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/madde/maddedevicetester.cpp b/src/plugins/madde/maddedevicetester.cpp
index 7a8ba98549d..8c614354253 100644
--- a/src/plugins/madde/maddedevicetester.cpp
+++ b/src/plugins/madde/maddedevicetester.cpp
@@ -128,7 +128,7 @@ void MaddeDeviceTester::handleGenericTestFinished(TestResult result)
m_stdout.clear();
m_stderr.clear();
m_state = QtTest;
- m_processRunner->run(qtInfoCmd.toUtf8(), m_genericTester->connection()->connectionParameters());
+ m_processRunner->run(qtInfoCmd.toUtf8(), m_deviceConfiguration->sshParameters());
}
void MaddeDeviceTester::handleConnectionError()
@@ -196,7 +196,7 @@ void MaddeDeviceTester::handleQtTestFinished(int exitStatus)
emit progressMessage(tr("Checking for connectivity support..."));
m_state = MadDeveloperTest;
m_processRunner->run(QString(QLatin1String("test -x") + MaemoGlobal::devrootshPath()).toUtf8(),
- m_genericTester->connection()->connectionParameters());
+ m_deviceConfiguration->sshParameters());
}
void MaddeDeviceTester::handleMadDeveloperTestFinished(int exitStatus)
@@ -233,8 +233,7 @@ void MaddeDeviceTester::handleMadDeveloperTestFinished(int exitStatus)
emit progressMessage(tr("Checking for QML tooling support..."));
m_state = QmlToolingTest;
m_processRunner->run(QString(QLatin1String("test -d ")
- + QLatin1String(QmlToolingDirectory)).toUtf8(),
- m_genericTester->connection()->connectionParameters());
+ + QLatin1String(QmlToolingDirectory)).toUtf8(), m_deviceConfiguration->sshParameters());
}
void MaddeDeviceTester::handleQmlToolingTestFinished(int exitStatus)