MCPcopy Create free account
hub / github.com/KDE/kdevelop / forceUpdate

Method forceUpdate

plugins/patchreview/patchreview.cpp:207–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void 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
218void PatchReviewPlugin::updateKompareModel() {
219 if ( !m_patch ) {

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected