forked from qt-creator/qt-creator
Trk: Closing TrkDevice when Launcher emits finished()
Reviewed-by: Friedemann Kleint
This commit is contained in:
@@ -893,7 +893,7 @@ bool TrkDevice::open(const QString &port, QString *errorMessage)
|
||||
Qt::QueuedConnection);
|
||||
connect(d->readerThread.data(), SIGNAL(messageReceived(trk::TrkResult,QByteArray)),
|
||||
this, SLOT(slotMessageReceived(trk::TrkResult,QByteArray)),
|
||||
Qt::BlockingQueuedConnection);
|
||||
Qt::QueuedConnection);
|
||||
d->readerThread->start();
|
||||
|
||||
d->writerThread = QSharedPointer<WriterThread>(new WriterThread(d->deviceContext));
|
||||
|
||||
Reference in New Issue
Block a user