diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp index dcdb92ed10..9b43185384 100644 --- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp @@ -1408,7 +1408,9 @@ void tst_QNetworkReply::cleanup() cookieJar->setAllCookies(QList()); // disconnect manager signals +#ifndef QT_NO_SSL manager.disconnect(SIGNAL(sslErrors(QNetworkReply*,QList))); +#endif manager.disconnect(SIGNAL(authenticationRequired(QNetworkReply*,QAuthenticator*))); manager.disconnect(SIGNAL(proxyAuthenticationRequired(QNetworkProxy,QAuthenticator*))); }