| 2564 | } |
| 2565 | |
| 2566 | void ImportFileWidget::changeMcapTopic() { |
| 2567 | auto filter = currentFileFilter(); |
| 2568 | if (filter->type() != AbstractFileFilter::FileType::MCAP) |
| 2569 | return; |
| 2570 | |
| 2571 | auto* mcap_filter = static_cast<McapFilter*>(filter); |
| 2572 | if (!(mcap_filter->getCurrentTopic() == ui.cbMcapTopics->currentText())) |
| 2573 | refreshPreview(); |
| 2574 | } |
| 2575 | |
| 2576 | #ifdef HAVE_MQTT |
| 2577 | /*! |
nothing calls this directly
no test coverage detected