This commit is contained in:
2022-01-05 01:18:57 +08:00
parent 43aa9cd6fb
commit 7546105d8b
17 changed files with 81 additions and 72 deletions
+3 -2
View File
@@ -25,7 +25,7 @@ Widget::Widget(QWidget *parent)
main_thread = new QThread(this);
main_thread->start();
connect(ui->stard_scan, &QPushButton::pressed, [=]()
{
dispatch* dispatch_thread;
@@ -52,7 +52,8 @@ Widget::Widget(QWidget *parent)
Widget::~Widget()
{
delete main_thread;
main_thread->exit();
//delete main_thread;
delete ui;
}