summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/imports/qmlwebsockets/qqmlwebsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/qmlwebsockets/qqmlwebsocket.cpp b/src/imports/qmlwebsockets/qqmlwebsocket.cpp
index f58c8d0..603d088 100644
--- a/src/imports/qmlwebsockets/qqmlwebsocket.cpp
+++ b/src/imports/qmlwebsockets/qqmlwebsocket.cpp
@@ -122,7 +122,7 @@ QQmlWebSocket::~QQmlWebSocket()
qint64 QQmlWebSocket::sendTextMessage(const QString &message)
{
if (m_status != Open) {
- setErrorString(tr("Messages can only be sent when the socket has Open status."));
+ setErrorString(tr("Messages can only be sent when the socket is open."));
setStatus(Error);
return 0;
}