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

Method setupUpdates

src/manager.cpp:157–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void Manager::setupUpdates(const Settings &settings)
158{
159 updater_->setExpansions({
160 {"$translators$", settings.translatorsPath},
161 {"$tessdata$", settings.tessdataPath},
162 {"$hunspell$", settings.hunspellPath},
163 {"$appdir$", QApplication::applicationDirPath()},
164 });
165
166 updater_->setAutoUpdate(settings.autoUpdateIntervalDays,
167 settings.lastUpdateCheck);
168}
169
170bool Manager::setupTrace(bool isOn)
171{

Callers

nothing calls this directly

Calls 2

setExpansionsMethod · 0.80
setAutoUpdateMethod · 0.80

Tested by

no test coverage detected