aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/ssh/sshconnection.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2012-06-08 08:48:03 +0200
committerChristian Kandeler <christian.kandeler@nokia.com>2012-06-08 12:41:31 +0200
commitc310f1671cc08bed4d9de40f6526aeadf1739be8 (patch)
tree2d9f70c879f346e7f06b7044af3bf2443922d9a6 /src/libs/ssh/sshconnection.h
parent92c7dce14f4ba1ffd5f5c63f5268238a4cf57a5a (diff)
SSH: Add parent object to SshConnection constructor.
There's no mandatory use of shared pointers anymore, so client code should be able to make use of QObject-based ownership. Change-Id: I2344ca66a40c310ef739b32502eb8471da98c03a Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/libs/ssh/sshconnection.h')
-rw-r--r--src/libs/ssh/sshconnection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/ssh/sshconnection.h b/src/libs/ssh/sshconnection.h
index c6a2fbc8d9..5354ec5946 100644
--- a/src/libs/ssh/sshconnection.h
+++ b/src/libs/ssh/sshconnection.h
@@ -91,7 +91,7 @@ class QSSH_EXPORT SshConnection : public QObject
public:
enum State { Unconnected, Connecting, Connected };
- SshConnection(const SshConnectionParameters &serverInfo);
+ explicit SshConnection(const SshConnectionParameters &serverInfo, QObject *parent = 0);
void connectToHost();
void disconnectFromHost();