forked from qt-creator/qt-creator
SSH: SshRemoteProcessRunner does not need to be a shared pointer.
Change-Id: I49cf2e113d23ebebe0939adbf90a1a88c84998a5 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -234,24 +234,16 @@ void SshRemoteProcessRunnerPrivate::assertState(State allowedState,
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
SshRemoteProcessRunner::Ptr SshRemoteProcessRunner::create(const SshConnectionParameters ¶ms)
|
||||
{
|
||||
return SshRemoteProcessRunner::Ptr(new SshRemoteProcessRunner(params));
|
||||
}
|
||||
|
||||
SshRemoteProcessRunner::Ptr SshRemoteProcessRunner::create(const SshConnection::Ptr &connection)
|
||||
{
|
||||
return SshRemoteProcessRunner::Ptr(new SshRemoteProcessRunner(connection));
|
||||
}
|
||||
|
||||
SshRemoteProcessRunner::SshRemoteProcessRunner(const SshConnectionParameters ¶ms)
|
||||
: d(new Internal::SshRemoteProcessRunnerPrivate(params, this))
|
||||
SshRemoteProcessRunner::SshRemoteProcessRunner(const SshConnectionParameters ¶ms,
|
||||
QObject *parent)
|
||||
: QObject(parent), d(new Internal::SshRemoteProcessRunnerPrivate(params, this))
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
SshRemoteProcessRunner::SshRemoteProcessRunner(const SshConnection::Ptr &connection)
|
||||
: d(new Internal::SshRemoteProcessRunnerPrivate(connection, this))
|
||||
SshRemoteProcessRunner::SshRemoteProcessRunner(const SshConnection::Ptr &connection,
|
||||
QObject *parent)
|
||||
: QObject(parent), d(new Internal::SshRemoteProcessRunnerPrivate(connection, this))
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user