调整UI不允许在其他线程运行
This commit is contained in:
+1
-1
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user