MCPcopy Create free account
hub / github.com/KDE/kdevelop / ~DiffViewsCtrl

Method ~DiffViewsCtrl

plugins/git/diffviewsctrl.cpp:78–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78DiffViewsCtrl::~DiffViewsCtrl()
79{
80 // Close the diff views so that kdevelop does
81 // not show a lot of Untitled empty tabs on
82 // when starting again
83 for (const auto& d : std::as_const(m_views)) {
84 if (d.second.doc)
85 d.second.doc->close();
86 }
87 m_views.clear();
88}
89
90void DiffViewsCtrl::setupDiffActions(KTextEditor::View* view, const RepoStatusModel::Areas diffType) const
91{

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected