diff options
author | Kurt Pattyn <pattyn.kurt@gmail.com> | 2014-01-18 22:02:11 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-20 18:26:48 +0100 |
commit | 76cd00f8fdb249d866723ced0514041099f95a4b (patch) | |
tree | 11f9467e82926a6f62ae61c76b4e2888ab8b46bd /examples/sslechoclient/sslechoclient.cpp | |
parent | 196617e5fb4f93655bbecea221b2dd350411fcae (diff) | |
download | qtwebsockets-76cd00f8fdb249d866723ced0514041099f95a4b.tar.gz |
Use QStringLiteral where appropriate
Change-Id: I608b555428aceafd7761a882cd4bd1fdb50d19b3
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'examples/sslechoclient/sslechoclient.cpp')
-rw-r--r-- | examples/sslechoclient/sslechoclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sslechoclient/sslechoclient.cpp b/examples/sslechoclient/sslechoclient.cpp index 411dcce..9807719 100644 --- a/examples/sslechoclient/sslechoclient.cpp +++ b/examples/sslechoclient/sslechoclient.cpp @@ -59,7 +59,7 @@ void SslEchoClient::onConnected() qDebug() << "Websocket connected"; connect(&m_webSocket, &QWebSocket::textMessageReceived, this, &SslEchoClient::onTextMessageReceived); - qint64 bytesWritten = m_webSocket.write("Hello, world!"); + qint64 bytesWritten = m_webSocket.write(QStringLiteral("Hello, world!")); Q_UNUSED(bytesWritten); } //! [onConnected] |