Fix repeated 'check for updates warning'

This commit is contained in:
Gres 2023-01-28 12:19:54 +03:00
parent 57b1cf8865
commit 6cb9199a6c

View File

@ -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<AutoChecker>(*this, intervalDays, lastCheck);
}