summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/socket/qhttpsocketengine
diff options
context:
space:
mode:
authorAlexander Akulich <akulichalexander@gmail.com>2020-02-07 16:43:07 +0300
committerAlexander Akulich <akulichalexander@gmail.com>2020-02-26 23:07:52 +0300
commit6d18e4a2b8d82519df177bff5a86a8eca5dae9e6 (patch)
treeccb1462a3c60f802e4b4f72cb1900212217e2084 /tests/auto/network/socket/qhttpsocketengine
parente1920f65936fe7d712441e88c023746ab5c21cee (diff)
Revert "QAbstractSocket: deprecate 'error' member-function"
This reverts commit 94b3dd77f29a00ebbd1efdc66d75f57e1c75b152. The patch fixes ambiguity between a getter and a signal by changing the getter name, but we still have to rename the signal to follow the signals naming convention. Revert the commit to keep the getter as is and change the signal name instead. Change-Id: I0dd60cf1ae9d1bd95beeb8ad58661ca4b1fb63b9 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/network/socket/qhttpsocketengine')
-rw-r--r--tests/auto/network/socket/qhttpsocketengine/tst_qhttpsocketengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/network/socket/qhttpsocketengine/tst_qhttpsocketengine.cpp b/tests/auto/network/socket/qhttpsocketengine/tst_qhttpsocketengine.cpp
index 1931df3d07..7644a06380 100644
--- a/tests/auto/network/socket/qhttpsocketengine/tst_qhttpsocketengine.cpp
+++ b/tests/auto/network/socket/qhttpsocketengine/tst_qhttpsocketengine.cpp
@@ -275,7 +275,7 @@ void tst_QHttpSocketEngine::errorTest()
QTestEventLoop::instance().enterLoop(30);
QVERIFY(!QTestEventLoop::instance().timeout());
- QCOMPARE(int(socket.socketError()), expectedError);
+ QCOMPARE(int(socket.error()), expectedError);
}
//---------------------------------------------------------------------------