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

Method wasCancelled

src/progress.cpp:468–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466}
467
468bool ProgressDialog::wasCancelled()
469{
470 if(QThread::currentThread() == m_pGuiThread)
471 {
472 if(m_t2.elapsed() > 100)
473 {
474 qApp->processEvents();
475 m_t2.restart();
476 }
477 }
478 return m_bWasCancelled;
479}
480
481void ProgressDialog::clearCancelState()
482{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected