Trk: Closing TrkDevice when Launcher emits finished()

Reviewed-by: Friedemann Kleint
This commit is contained in:
Robert Loehning
2009-10-08 15:21:37 +02:00
parent ac4f53ef40
commit 6bcfee4840
3 changed files with 5 additions and 2 deletions

View File

@@ -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));