diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2020-08-24 13:52:54 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-08-24 16:11:20 +0000 |
commit | 401d8848764681b28dd1945813137ed990efeeb3 (patch) | |
tree | c50b189efb0898fb11a01a289d80e263a1ef88e1 /tests | |
parent | efcd98e63cfead293a2a10417223127820116cb8 (diff) |
tst_QLocalSocket: fix wrong slot name
Suppress the warning:
QObject::connect: No such slot LocalSocket::slotError(QLocalSocket ...
Change-Id: Ia08505ebc85d4070582c7ddaae8b581d394dbb80
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit b3310426b6ae09fd9aba4183e60c7b88b837e735)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp b/tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp index baf841d237..e172c255a7 100644 --- a/tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp +++ b/tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp @@ -175,7 +175,7 @@ public: connect(this, SIGNAL(disconnected()), this, SLOT(slotDisconnected())); connect(this, SIGNAL(errorOccurred(QLocalSocket::LocalSocketError)), - this, SLOT(slotError(QLocalSocket::LocalSocketError))); + this, SLOT(slotErrorOccurred(QLocalSocket::LocalSocketError))); connect(this, SIGNAL(stateChanged(QLocalSocket::LocalSocketState)), this, SLOT(slotStateChanged(QLocalSocket::LocalSocketState))); connect(this, SIGNAL(readyRead()), |