| 173 | } |
| 174 | |
| 175 | void 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 | |
| 190 | QString ExportInstanceDialog::ignoreFileName() |
| 191 | { |
nothing calls this directly
no test coverage detected