MCPcopy Create free account
hub / github.com/OneMoreGres/ScreenTranslator / setAutoUpdate

Method setAutoUpdate

src/service/updates.cpp:897–905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

895}
896
897void 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
907void Updater::handleModelDoubleClick(const QModelIndex &index)
908{

Callers 1

setupUpdatesMethod · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected