| 62 | } |
| 63 | |
| 64 | void ProgressWidget::start(const Task* task) |
| 65 | { |
| 66 | watch(task); |
| 67 | if (!m_task->isRunning()) |
| 68 | QMetaObject::invokeMethod(const_cast<Task*>(m_task), "start", Qt::QueuedConnection); |
| 69 | } |
| 70 | |
| 71 | bool ProgressWidget::exec(std::shared_ptr<Task> task) |
| 72 | { |
no test coverage detected