Trk: Pass on frame option

This commit is contained in:
Friedemann Kleint
2009-08-21 16:45:36 +02:00
parent 09dc43ba5c
commit d922b614fc

View File

@@ -794,12 +794,14 @@ bool Adapter::openTrkPort(const QString &port, QString *errorMessage)
connect(m_socketDevice.data(), SIGNAL(messageReceived(trk::TrkResult)), this, SLOT(handleResult(trk::TrkResult)));
if (m_verbose > 1)
m_socketDevice->setVerbose(true);
m_socketDevice->setSerialFrame(m_serialFrame);
return true;
}
m_trkDevice = QSharedPointer<TrkWriteQueueDevice>(new TrkWriteQueueDevice);
connect(m_trkDevice.data(), SIGNAL(messageReceived(trk::TrkResult)), this, SLOT(handleResult(trk::TrkResult)));
if (m_verbose > 1)
m_trkDevice->setVerbose(true);
m_trkDevice->setSerialFrame(m_serialFrame);
return m_trkDevice->open(port, errorMessage);
}