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

Method rowsRemoved

kdevplatform/util/focusedtreeview.cpp:164–172  ·  view source on GitHub ↗

Removing rows can make longer rows move into the visible region, so we also must trigger a column resize

Source from the content-addressed store, hash-verified

162// Removing rows can make longer rows move into the visible region, so we also must trigger a
163// column resize
164void FocusedTreeView::rowsRemoved(const QModelIndex& parent, int first, int last)
165{
166 Q_D(FocusedTreeView);
167
168 QTreeView::rowsRemoved(parent, first, last);
169
170 if (!d->timer.isActive())
171 d->timer.start();
172}
173
174}
175

Callers

nothing calls this directly

Calls 2

isActiveMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected