| 418 | } |
| 419 | |
| 420 | Node *DiffTreeModel::node(const QModelIndex &index) const { |
| 421 | return index.isValid() ? static_cast<Node *>(index.internalPointer()) : mRoot; |
| 422 | } |
| 423 | |
| 424 | QVariant DiffTreeModel::getDisplayRole(const QModelIndex &index) const { |
| 425 | Node *node = this->node(index); |
no test coverage detected