qt5base-lts/tests/auto
Fredrik de Vibe 48f25caac4 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 <lars.knoll@theqtcompany.com>
2016-03-04 08:11:54 +00:00
..
android Updated license headers 2016-01-21 18:55:18 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
compilerwarnings/data Updated license headers 2016-01-21 18:55:18 +00:00
concurrent QtConcurrentRun: add unittest for polling for isFinished() 2016-02-15 13:53:57 +00:00
corelib Merge remote-tracking branch 'origin/5.7' into dev 2016-03-01 08:23:55 +01:00
dbus Merge remote-tracking branch 'origin/5.6' into dev 2016-02-02 15:57:44 +01:00
gui Fix QTextEdit/QQuickTextEdit undo bug - Part #2 2016-03-02 16:00:02 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Check if socketEngine is set before accessing it. 2016-03-04 08:11:54 +00:00
opengl Merge remote-tracking branch 'origin/5.6' into 5.7 2016-02-18 20:50:35 +01:00
other Add native support for D-Bus global menu 2016-02-23 20:56:07 +00:00
printsupport Merge remote-tracking branch 'origin/5.6' into 5.7 2016-02-29 12:34:31 +01:00
shared Updated license headers 2016-01-21 18:55:18 +00:00
sql Merge remote-tracking branch 'origin/5.6' into 5.7 2016-02-18 20:50:35 +01:00
testlib Make it possible to preserve the library/plugin path in tst_selftest 2016-02-23 21:16:44 +00:00
tools uic: Accept an -idbased argument 2016-01-28 14:07:43 +00:00
widgets Merge remote-tracking branch 'origin/5.7' into dev 2016-03-01 08:23:55 +01:00
xml Updated license headers 2016-01-21 18:55:18 +00:00
auto.pro Autotests: if cross-compiling, ignore dbus status on compilation host 2016-02-23 12:19:31 +00:00
network-settings.h Updated license headers 2016-01-21 18:55:18 +00:00
qtest-config.h Updated license headers 2016-01-21 18:55:18 +00:00
test.pl Updated license headers 2016-01-21 18:55:18 +00:00