From bb234e238c777b1a708912765d6899bf9061bcb8 Mon Sep 17 00:00:00 2001 From: Shane Kearns Date: Mon, 30 Apr 2012 19:14:06 +0100 Subject: Rename QAbstractSocket::PauseOnNotify -> PauseOnSslErrors Although we created an enum for pause modes to make 5.x binary compatible with 5.0, the enum value is not well named. In 5.1, we propose to add PauseOnProxyAuthentication to the enum. PauseOnNotify is not clear what it means, while PauseOnSslErrors is. Any new notification in a minor release would need a new enum value otherwise applications would get pauses they did not expect. Task-number: QTBUG-19032 Change-Id: I4dbb7467663b37ca7f0551d24a31bc013968bedc Reviewed-by: Richard J. Moore Reviewed-by: Lars Knoll --- tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp b/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp index 34bc361e4b..e134f346e2 100644 --- a/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp +++ b/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp @@ -2158,7 +2158,7 @@ void tst_QSslSocket::resume() QFETCH(bool, expectSuccess); QSslSocket socket; - socket.setPauseMode(QAbstractSocket::PauseOnNotify); + socket.setPauseMode(QAbstractSocket::PauseOnSslErrors); QSignalSpy sslErrorSpy(&socket, SIGNAL(sslErrors(QList))); QSignalSpy encryptedSpy(&socket, SIGNAL(encrypted())); -- cgit v1.2.3