From a6c18c05490582036c4dc5d4d5d9ed3211595b96 Mon Sep 17 00:00:00 2001 From: gangphon Date: Mon, 20 Mar 2023 13:41:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ledset=E6=89=BE=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ledset/pcaprethread.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ledset/pcaprethread.cpp b/ledset/pcaprethread.cpp index 339db72..2f1976d 100644 --- a/ledset/pcaprethread.cpp +++ b/ledset/pcaprethread.cpp @@ -1,6 +1,7 @@ #include "pcaprethread.h" PcapReThread::PcapReThread(pcap_t *pcap) : pcap(pcap) { + qRegisterMetaType("Resp"); connect(this, &QThread::finished, this, &QThread::deleteLater); connect(this, &PcapReThread::onMsg, this, [](Resp resp, const QByteArray data) { resp.callback(data);