MCPcopy Create free account
hub / github.com/KDE/kdiff3 / cancel

Method cancel

src/progress.cpp:487–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487void ProgressDialog::cancel(e_CancelReason eCancelReason)
488{
489 if(!m_bWasCancelled)
490 {
491 m_bWasCancelled = true;
492 m_eCancelReason = eCancelReason;
493 if(m_eventLoop != nullptr)
494 m_eventLoop->exit(1);
495 }
496}
497
498ProgressDialog::e_CancelReason ProgressDialog::cancelReason()
499{

Callers 1

~KDiff3AppMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected