| 430 | } |
| 431 | |
| 432 | void ExportInstanceDialog::rowsInserted(QModelIndex parent, int top, int bottom) |
| 433 | { |
| 434 | //WARNING: possible off-by-one? |
| 435 | for(int i = top; i < bottom; i++) |
| 436 | { |
| 437 | auto node = parent.child(i, 0); |
| 438 | if(proxyModel->shouldExpand(node)) |
| 439 | { |
| 440 | auto expNode = node.parent(); |
| 441 | if(!expNode.isValid()) |
| 442 | { |
| 443 | continue; |
| 444 | } |
| 445 | ui->treeView->expand(node); |
| 446 | } |
| 447 | } |
| 448 | } |
| 449 | |
| 450 | QString ExportInstanceDialog::ignoreFileName() |
| 451 | { |
nothing calls this directly
no test coverage detected