MCPcopy Create free account
hub / github.com/KDE/labplot / changeMcapTopic

Method changeMcapTopic

src/frontend/datasources/ImportFileWidget.cpp:2566–2574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2564}
2565
2566void 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/*!

Callers

nothing calls this directly

Calls 3

getCurrentTopicMethod · 0.80
currentTextMethod · 0.80
typeMethod · 0.45

Tested by

no test coverage detected