summaryrefslogtreecommitdiff
path: root/src/imports/qmlwebsockets/qmlwebsockets.pro
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2014-08-02 14:48:32 +0200
committerPeter Kümmel <syntheticpp@gmx.net>2014-11-18 18:57:44 +0100
commit64927e04f202d33b9a9a1f94141ef692c0b513ac (patch)
treea6f1737afb4e1420b74797865f7ea3da913ff401 /src/imports/qmlwebsockets/qmlwebsockets.pro
parent44a071396e91de32eb3efd12a1ed230ed1632aea (diff)
downloadqtwebsockets-64927e04f202d33b9a9a1f94141ef692c0b513ac.tar.gz
Set parent of internal server objects
After moving the websocket server into another thread current code doesn't work because then the QTcpServer/QSslServer objects reside in a different thread: "QWarning: QObject: Cannot create children for a parent that is in a different thread." QObject::moveToThread(QThread*) also moves QObjects's children, therefore the internal server objects need to be children of QWebSocketServer. Change-Id: Ic7e8a564cd87400a4ab7258e3799157ed359c098 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/imports/qmlwebsockets/qmlwebsockets.pro')
0 files changed, 0 insertions, 0 deletions