From 0c42ca0d7b5202f6fd91e13083788dfb4566c38a Mon Sep 17 00:00:00 2001 From: sima Date: Wed, 13 Dec 2023 11:27:14 -0800 Subject: [PATCH] Private added to slot calls --- src/cpp/proxy/testwebsocket.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/cpp/proxy/testwebsocket.cpp b/src/cpp/proxy/testwebsocket.cpp index 7ffd5d09..c09e12d4 100644 --- a/src/cpp/proxy/testwebsocket.cpp +++ b/src/cpp/proxy/testwebsocket.cpp @@ -307,14 +307,13 @@ void TestWebSocket::writeFrame(const Frame &frame) } d->inFrames += tmp; - - QMetaObject::invokeMethod(this, "doFramesWritten", Qt::QueuedConnection, Q_ARG(int, 1), Q_ARG(int, tmp.data.size())); - QMetaObject::invokeMethod(this, "doReadyRead", Qt::QueuedConnection); + QMetaObject::invokeMethod(this, "Private::doFramesWritten", Qt::QueuedConnection, Q_ARG(int, 1), Q_ARG(int, tmp.data.size())); + QMetaObject::invokeMethod(this, "Private::doReadyRead", Qt::QueuedConnection); } WebSocket::Frame TestWebSocket::readFrame() { - QMetaObject::invokeMethod(this, "doWriteBytesChanged", Qt::QueuedConnection); + QMetaObject::invokeMethod(this, "Private::doWriteBytesChanged", Qt::QueuedConnection); return d->inFrames.takeFirst(); }