summaryrefslogtreecommitdiff
path: root/src/imports
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports')
-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 7ba03c0..f58c8d0 100644
--- a/src/imports/qmlwebsockets/qqmlwebsocket.cpp
+++ b/src/imports/qmlwebsockets/qqmlwebsocket.cpp
@@ -126,7 +126,7 @@ qint64 QQmlWebSocket::sendTextMessage(const QString &message)
setStatus(Error);
return 0;
}
- return m_webSocket->write(message);
+ return m_webSocket->sendTextMessage(message);
}
QUrl QQmlWebSocket::url() const