summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-07-13 14:54:48 +0800
committerLiang Qi <liang.qi@theqtcompany.com>2015-07-22 10:32:07 +0000
commit0610115192f4a1e4d722330bf298ccd213ca3b5f (patch)
tree253495c949abc0e4b3ff2ee109b91f6a85aa5c12 /tests/auto
parent086f3722777ee61f3c019ca064d4a844cf0f6fe4 (diff)
downloadqtwebsockets-0610115192f4a1e4d722330bf298ccd213ca3b5f.tar.gz
WebSocketServer: use int type for port
QML engine doesn't support quint16 as a QML type. Task-number: QTBUG-46790 Change-Id: I5b01dc06a3256dd41affc035fc507082e1935cc8 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com> Reviewed-by: Luca Niccoli <lultimouomo@gmail.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qml/qmlwebsockets/tst_qmlwebsockets.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlwebsockets/tst_qmlwebsockets.qml b/tests/auto/qml/qmlwebsockets/tst_qmlwebsockets.qml
index 6018037..8c721a5 100644
--- a/tests/auto/qml/qmlwebsockets/tst_qmlwebsockets.qml
+++ b/tests/auto/qml/qmlwebsockets/tst_qmlwebsockets.qml
@@ -44,6 +44,7 @@ Rectangle {
WebSocketServer {
id: server
+ port: 1337
}
WebSocket {