tasks: added elapsed/remaining time displays for all tasks

This commit is contained in:
itsmattkc
2020-05-24 18:10:08 +10:00
parent 4c4bcb0989
commit 4f21a930dd
10 changed files with 210 additions and 12 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ void TaskDialog::showEvent(QShowEvent *e)
this, &TaskDialog::TaskFinished, Qt::QueuedConnection);
// Run task in another thread with QtConcurrent
task_watcher->setFuture(QtConcurrent::run(task_, &Task::Run));
task_watcher->setFuture(QtConcurrent::run(task_, &Task::Start));
}
void TaskDialog::closeEvent(QCloseEvent *e)