| 155 | } |
| 156 | |
| 157 | void 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 | |
| 170 | bool Manager::setupTrace(bool isOn) |
| 171 | { |
nothing calls this directly
no test coverage detected