From 86b226b98603753d889c167f549e42f1721a3446 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Sun, 20 Oct 2024 10:57:08 +0500 Subject: [PATCH] UI: TaskInfo::handleFinished: Fix typo --- src/ui/task/taskinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/task/taskinfo.cpp b/src/ui/task/taskinfo.cpp index 376a7204..8144123d 100644 --- a/src/ui/task/taskinfo.cpp +++ b/src/ui/task/taskinfo.cpp @@ -149,7 +149,7 @@ void TaskInfo::handleFinished(bool success) m_failedCount = 0; } else { - if (++m_failedCount >= maxRetries()) { + if (++m_failedCount > maxRetries()) { m_failedCount = 0; } }