| 895 | } |
| 896 | |
| 897 | void Updater::setAutoUpdate(int intervalDays, const QDateTime &lastCheck) |
| 898 | { |
| 899 | if (intervalDays < 1) { |
| 900 | autoChecker_.reset(); |
| 901 | return; |
| 902 | } |
| 903 | |
| 904 | autoChecker_ = std::make_unique<AutoChecker>(*this, intervalDays, lastCheck); |
| 905 | } |
| 906 | |
| 907 | void Updater::handleModelDoubleClick(const QModelIndex &index) |
| 908 | { |