diff options
author | Frank Meerkoetter <frank.meerkoetter@basyskom.com> | 2015-12-25 21:46:15 +0100 |
---|---|---|
committer | Frank Meerkoetter <frank.meerkoetter@basyskom.com> | 2016-04-07 07:49:37 +0000 |
commit | 250c96f7bcaed7a9d596c69dcb93c297127819bf (patch) | |
tree | 1bf0f296cefb2be2ced76cb69c8b4df81273e2d4 /examples/websockets/sslechoclient | |
parent | f2407e1d1ec9d6fcea9180f9d48e51c7f287b57a (diff) | |
download | qtwebsockets-250c96f7bcaed7a9d596c69dcb93c297127819bf.tar.gz |
No need to manually call the default constructor
Cleaning up the examples a little. There is no need to explicitly call
the default constructor for these members.
Change-Id: I7a931ea78f6db1bc1c70f7c49bc85f51e8666d47
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'examples/websockets/sslechoclient')
-rw-r--r-- | examples/websockets/sslechoclient/sslechoclient.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/websockets/sslechoclient/sslechoclient.cpp b/examples/websockets/sslechoclient/sslechoclient.cpp index cb15e35..3de2fec 100644 --- a/examples/websockets/sslechoclient/sslechoclient.cpp +++ b/examples/websockets/sslechoclient/sslechoclient.cpp @@ -56,8 +56,7 @@ QT_USE_NAMESPACE //! [constructor] SslEchoClient::SslEchoClient(const QUrl &url, QObject *parent) : - QObject(parent), - m_webSocket() + QObject(parent) { connect(&m_webSocket, &QWebSocket::connected, this, &SslEchoClient::onConnected); typedef void (QWebSocket:: *sslErrorsSignal)(const QList<QSslError> &); |