MCPcopy Create free account
hub / github.com/KDE/kdevelop / onModelRemoved

Method onModelRemoved

plugins/problemreporter/problemsview.cpp:376–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376void ProblemsView::onModelRemoved(const QString& id)
377{
378 for (int i = 0; i < m_models.size(); ++i) {
379 if (m_models[i].id == id) {
380 m_models.remove(i);
381 QWidget* w = m_tabWidget->widget(i);
382 m_tabWidget->removeTab(i);
383 delete w;
384 return;
385 }
386 }
387}
388
389void ProblemsView::onCurrentChanged(int idx)
390{

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
removeMethod · 0.45
widgetMethod · 0.45

Tested by

no test coverage detected