From d02e9b315077db8cc899cb0e59b8469146b16137 Mon Sep 17 00:00:00 2001 From: Rym Bouabid Date: Thu, 21 Sep 2023 11:30:58 +0200 Subject: [PATCH] Revamp Queued Custom Type Ex: Declare stopProcess() as a method Declare stopProcess() as a method because it's used in the connect() overload taking a pointer-to-member-function, so it doesn't need help from moc. Task-number: QTBUG-117147 Pick-to: 6.5 Change-Id: Iaa1c02de82cffdea455af520c37dc0e6e6861443 Reviewed-by: Ivan Solovev (cherry picked from commit 74318643ced197f9380d21c3dfc662a85e73f5b8) Reviewed-by: Qt Cherry-pick Bot --- examples/corelib/threads/queuedcustomtype/renderthread.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/corelib/threads/queuedcustomtype/renderthread.h b/examples/corelib/threads/queuedcustomtype/renderthread.h index 2946f1ee330..ed4df99bcc3 100644 --- a/examples/corelib/threads/queuedcustomtype/renderthread.h +++ b/examples/corelib/threads/queuedcustomtype/renderthread.h @@ -20,13 +20,11 @@ public: ~RenderThread(); void processImage(const QImage &image); + void stopProcess(); signals: void sendBlock(const Block &block); -public slots: - void stopProcess(); - protected: void run();