修改ledset找卡
This commit is contained in:
parent
b8d679984c
commit
a6c18c0549
|
@ -1,6 +1,7 @@
|
||||||
#include "pcaprethread.h"
|
#include "pcaprethread.h"
|
||||||
|
|
||||||
PcapReThread::PcapReThread(pcap_t *pcap) : pcap(pcap) {
|
PcapReThread::PcapReThread(pcap_t *pcap) : pcap(pcap) {
|
||||||
|
qRegisterMetaType<Resp>("Resp");
|
||||||
connect(this, &QThread::finished, this, &QThread::deleteLater);
|
connect(this, &QThread::finished, this, &QThread::deleteLater);
|
||||||
connect(this, &PcapReThread::onMsg, this, [](Resp resp, const QByteArray data) {
|
connect(this, &PcapReThread::onMsg, this, [](Resp resp, const QByteArray data) {
|
||||||
resp.callback(data);
|
resp.callback(data);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user