Changeset View
Changeset View
Standalone View
Standalone View
plugins/patchreview/patchreview.cpp
Context not available. | |||||
224 | } | 224 | } | ||
---|---|---|---|---|---|
225 | } | 225 | } | ||
226 | 226 | | |||
227 | void PatchReviewPlugin::forceUpdateWithContext(int contextLines) { | ||||
228 | if( m_patch ) { | ||||
229 | // register the requested number of lines of context | ||||
230 | // and regenerate the patch. | ||||
231 | m_patch->setContextLines(contextLines); | ||||
232 | forceUpdate(); | ||||
233 | } else { | ||||
234 | qWarning() << Q_FUNC_INFO << "called while m_patch==" << m_patch; | ||||
235 | } | ||||
236 | } | ||||
237 | | ||||
227 | void PatchReviewPlugin::updateKompareModel() { | 238 | void PatchReviewPlugin::updateKompareModel() { | ||
228 | if ( !m_patch ) { | 239 | if ( !m_patch ) { | ||
229 | ///TODO: this method should be cleaned up, it can be called by the timer and | 240 | ///TODO: this method should be cleaned up, it can be called by the timer and | ||
Context not available. |