diff --git a/src/ui/task/taskinfo.cpp b/src/ui/task/taskinfo.cpp index af79d925..576a7d09 100644 --- a/src/ui/task/taskinfo.cpp +++ b/src/ui/task/taskinfo.cpp @@ -147,7 +147,7 @@ QDateTime TaskInfo::now() void TaskInfo::run() { - cancel(); + if (m_taskWorker) return; TaskWorker *taskWorker = createWorker(); diff --git a/src/ui/task/taskmanager.cpp b/src/ui/task/taskmanager.cpp index bd479e28..ef6a1ef2 100644 --- a/src/ui/task/taskmanager.cpp +++ b/src/ui/task/taskmanager.cpp @@ -89,7 +89,7 @@ void TaskManager::runExpiredTasks() bool anyTaskEnabled = false; foreach (TaskInfo *taskInfo, m_taskInfos) { - if (taskInfo->enabled() && !taskInfo->running()) { + if (taskInfo->enabled()) { anyTaskEnabled = true; if (now > taskInfo->plannedRun()) {