summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2014-01-18 22:02:11 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 18:26:48 +0100
commit76cd00f8fdb249d866723ced0514041099f95a4b (patch)
tree11f9467e82926a6f62ae61c76b4e2888ab8b46bd /src
parent196617e5fb4f93655bbecea221b2dd350411fcae (diff)
downloadqtwebsockets-76cd00f8fdb249d866723ced0514041099f95a4b.tar.gz
Use QStringLiteral where appropriate
Change-Id: I608b555428aceafd7761a882cd4bd1fdb50d19b3 Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src')
-rw-r--r--src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp b/src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp
index 0661d1c..b86164b 100644
--- a/src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp
+++ b/src/websockets/doc/snippets/src_websockets_ssl_qwebsocket.cpp
@@ -32,5 +32,5 @@ expectedSslErrors.append(error);
QWebSocket socket;
socket.ignoreSslErrors(expectedSslErrors);
-socket.open("wss://myserver.at.home");
+socket.open(QUrl(QStringLiteral("wss://myserver.at.home")));
//! [6]