调整UI不允许在其他线程运行

This commit is contained in:
hm
2021-10-22 16:56:30 +08:00
parent 53d084bfa6
commit eac07504aa
6 changed files with 24 additions and 20 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ DLink::DLink(QObject *parent) : QObject(parent)
//在当前线程运行
connect(mavlinknode,SIGNAL(showMessage(QString,int)),
this,SIGNAL(showMessage(QString,int)),Qt::DirectConnection);
this,SIGNAL(showMessage(QString,int)));
//在当前线程运行
connect(this,SIGNAL(recieveMessage(quint32,QByteArray)),