Fix repeated 'check for updates warning'
This commit is contained in:
parent
57b1cf8865
commit
6cb9199a6c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user