path: root/mkspecs
diff options
authorFredrik de Vibe <>2016-03-02 16:52:22 +0100
committerFredrik de Vibe <>2016-03-04 08:11:54 +0000
commit48f25caac4ba0ae3a0f7c556a434a7714c028354 (patch)
tree559ac460aa46a10c8124ae6fcdd88c3b1b1e0284 /mkspecs
parent954bd06bc51a19a65c228124f971ac69dbf8ca79 (diff)
Check if socketEngine is set before accessing it.
QTcpServer::addPendingConnection() is protected, so it is possible to add pending connections from a class derived from QTcpServer. This derived class can get a QTcpSocket from somewhere else, in which case d->socketEngine will not be set (or used). Given that it is possible to add pending connections in this scenario, it would make sense to be able to retrieve them as well. [ChangeLog][QtNetwork][QTcpServer] Permit using a QTcpServer with externally created QTcpSocket. Task-number: QTBUG-51288 Change-Id: I830c10f1a881e2bca4e4ad716d8be865e1c27a9f Reviewed-by: Lars Knoll <>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions