| 205 | } |
| 206 | |
| 207 | void PatchReviewPlugin::forceUpdate() { |
| 208 | if( m_patch ) { |
| 209 | // don't trigger an update if we know the plugin cannot update itself |
| 210 | auto* vcsPatch = qobject_cast<VCSDiffPatchSource*>(m_patch.data()); |
| 211 | if (!vcsPatch || vcsPatch->m_updater) { |
| 212 | m_patch->update(); |
| 213 | notifyPatchChanged(); |
| 214 | } |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | void PatchReviewPlugin::updateKompareModel() { |
| 219 | if ( !m_patch ) { |