| 76 | } |
| 77 | |
| 78 | void DiffWidget::reload() |
| 79 | { |
| 80 | if (mCenterStackedWidget->count() > 0) |
| 81 | { |
| 82 | if (const auto fileDiff = dynamic_cast<FileDiffWidget *>(mCenterStackedWidget->currentWidget())) |
| 83 | fileDiff->reload(); |
| 84 | else if (const auto fullDiff = dynamic_cast<FullDiffWidget *>(mCenterStackedWidget->currentWidget())) |
| 85 | fullDiff->reload(); |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | void DiffWidget::clear() const |
| 90 | { |
no test coverage detected