forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.7'
Change-Id: Ifb51ca9893549c478e99c9fc3ea6c32d5d5a28a2
This commit is contained in:
@@ -58,7 +58,7 @@ void QmlProfilerToolTest::testAttachToWaitingApplication()
|
||||
QUrl serverUrl = Utils::urlFromLocalHostAndFreePort();
|
||||
QVERIFY(serverUrl.port() >= 0);
|
||||
QVERIFY(serverUrl.port() <= std::numeric_limits<quint16>::max());
|
||||
server.listen(QHostAddress(serverUrl.host()), static_cast<quint16>(serverUrl.port()));
|
||||
server.listen(QHostAddress::Any, static_cast<quint16>(serverUrl.port()));
|
||||
|
||||
QScopedPointer<QTcpSocket> connection;
|
||||
connect(&server, &QTcpServer::newConnection, this, [&]() {
|
||||
|
||||
Reference in New Issue
Block a user