summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2014-01-19 14:11:27 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 23:22:32 +0100
commit9346cac9d19f169e4bbfde4aaec8e7c75fa1f21c (patch)
tree0faee22979222fe1f2dabcb53245d98e5fd41feb /src
parent281647a7efcc122c87d65518d9d8fbf259a3803a (diff)
downloadqtwebsockets-9346cac9d19f169e4bbfde4aaec8e7c75fa1f21c.tar.gz
Small fix to error text
Change-Id: Ie46b5ad5892e55a20ba00bdf659d2395c40f95c3 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src')
-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;
}