MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / rowsInserted

Method rowsInserted

launcher/ui/dialogs/ExportInstanceDialog.cpp:175–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void ExportInstanceDialog::rowsInserted(QModelIndex parent, int top, int bottom)
176{
177 // WARNING: possible off-by-one?
178 for (int i = top; i < bottom; i++) {
179 auto node = proxyModel->index(i, 0, parent);
180 if (proxyModel->shouldExpand(node)) {
181 auto expNode = node.parent();
182 if (!expNode.isValid()) {
183 continue;
184 }
185 ui->treeView->expand(node);
186 }
187 }
188}
189
190QString ExportInstanceDialog::ignoreFileName()
191{

Callers

nothing calls this directly

Calls 4

shouldExpandMethod · 0.80
indexMethod · 0.45
parentMethod · 0.45
isValidMethod · 0.45

Tested by

no test coverage detected