diff options
Diffstat (limited to 'examples/webchannel/shared/websockettransport.cpp')
-rw-r--r-- | examples/webchannel/shared/websockettransport.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/examples/webchannel/shared/websockettransport.cpp b/examples/webchannel/shared/websockettransport.cpp index a65bc2d..e4ce50a 100644 --- a/examples/webchannel/shared/websockettransport.cpp +++ b/examples/webchannel/shared/websockettransport.cpp @@ -50,11 +50,10 @@ #include "websockettransport.h" +#include <QDebug> #include <QJsonDocument> #include <QJsonObject> -#include <QDebug> - -#include <QtWebSockets/QWebSocket> +#include <QWebSocket> /*! \brief QWebChannelAbstractSocket implementation that uses a QWebSocket internally. @@ -64,8 +63,6 @@ be send over the QWebSocket to the remote client. */ -QT_BEGIN_NAMESPACE - /*! Construct the transport object and wrap the given socket. @@ -115,5 +112,3 @@ void WebSocketTransport::textMessageReceived(const QString &messageData) } emit messageReceived(message.object(), this); } - -QT_END_NAMESPACE |