| 240 | } |
| 241 | |
| 242 | void DaxIqModel::handleStreamRemoved(quint32 streamId) |
| 243 | { |
| 244 | for (int i = 0; i < NUM_CHANNELS; ++i) { |
| 245 | if (m_streams[i].streamId == streamId) { |
| 246 | int ch = m_streams[i].channel; |
| 247 | m_streams[i] = IqStream{}; |
| 248 | m_streams[i].channel = ch; |
| 249 | QMetaObject::invokeMethod(m_worker, [this, ch] { |
| 250 | m_worker->destroyPipe(ch); |
| 251 | }); |
| 252 | emit streamChanged(ch); |
| 253 | qCDebug(lcProtocol) << "DaxIqModel: removed IQ stream ch" << ch; |
| 254 | return; |
| 255 | } |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | void DaxIqModel::handleDisconnect() |
| 260 | { |
no test coverage detected