forked from qt-creator/qt-creator
SshRemoteProcess: Get rid of error arg from done() signal
Prepare for signal rename done() -> finished(). Change-Id: I81a7bd0a4826ce6200f4af47ba5868ceedb42206 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -143,11 +143,11 @@ void GenericLinuxDeviceTester::handleConnectionFailure()
|
||||
setFinished(TestFailure);
|
||||
}
|
||||
|
||||
void GenericLinuxDeviceTester::handleProcessFinished(const QString &error)
|
||||
void GenericLinuxDeviceTester::handleProcessFinished()
|
||||
{
|
||||
QTC_ASSERT(d->state == RunningUname, return);
|
||||
|
||||
if (!error.isEmpty() || d->process->exitCode() != 0) {
|
||||
if (!d->process->errorString().isEmpty() || d->process->exitCode() != 0) {
|
||||
const QByteArray stderrOutput = d->process->readAllStandardError();
|
||||
if (!stderrOutput.isEmpty())
|
||||
emit errorMessage(tr("uname failed: %1").arg(QString::fromUtf8(stderrOutput)) + QLatin1Char('\n'));
|
||||
|
||||
Reference in New Issue
Block a user