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:
@@ -95,10 +95,10 @@ void Shell::handleRemoteStderr()
|
||||
std::cerr << m_shell->readAllStandardError().data() << std::flush;
|
||||
}
|
||||
|
||||
void Shell::handleChannelClosed(const QString &error)
|
||||
void Shell::handleChannelClosed()
|
||||
{
|
||||
std::cerr << "Shell closed. Exit code was " << m_shell->exitCode() << "." << std::endl;
|
||||
QCoreApplication::exit(error.isEmpty() && m_shell->exitCode() == 0
|
||||
QCoreApplication::exit(m_shell->errorString().isEmpty() && m_shell->exitCode() == 0
|
||||
? EXIT_SUCCESS : EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ private:
|
||||
void handleRemoteStdout();
|
||||
void handleRemoteStderr();
|
||||
void handleShellMessage(const QString &message);
|
||||
void handleChannelClosed(const QString &error);
|
||||
void handleChannelClosed();
|
||||
void handleShellStarted();
|
||||
void handleStdin();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user