From 6cb9199a6c83779ec22a81cbd2b4070b36a31988 Mon Sep 17 00:00:00 2001 From: Gres Date: Sat, 28 Jan 2023 12:19:54 +0300 Subject: [PATCH] Fix repeated 'check for updates warning' --- src/service/updates.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/service/updates.cpp b/src/service/updates.cpp index 833d74c..b6621db 100644 --- a/src/service/updates.cpp +++ b/src/service/updates.cpp @@ -896,11 +896,6 @@ QDateTime Updater::lastUpdateCheck() const void Updater::setAutoUpdate(int intervalDays, const QDateTime &lastCheck) { - if (intervalDays < 1) { - autoChecker_.reset(); - return; - } - autoChecker_ = std::make_unique(*this, intervalDays, lastCheck); }