| 466 | } |
| 467 | |
| 468 | bool 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 | |
| 481 | void ProgressDialog::clearCancelState() |
| 482 | { |
no outgoing calls
no test coverage detected