diff --git a/quazip/qztest/testquazip.cpp b/quazip/qztest/testquazip.cpp index 78910b6..6bd86f3 100644 --- a/quazip/qztest/testquazip.cpp +++ b/quazip/qztest/testquazip.cpp @@ -395,7 +395,7 @@ void TestQuaZip::saveFileBug() void TestQuaZip::testSequential() { QTcpServer server; - QVERIFY(server.listen()); + QVERIFY(server.listen(QHostAddress(QHostAddress::LocalHost))); quint16 port = server.serverPort(); QTcpSocket socket; socket.connectToHost(QHostAddress(QHostAddress::LocalHost), port);