Add compile time options for telemetry and updates

This commit is contained in:
Ludwig Nussel 2022-02-14 15:01:32 +01:00
parent 0a07169a8a
commit 5d971375f6
4 changed files with 18 additions and 2 deletions

View file

@ -1006,6 +1006,8 @@ bool ImageWriter::getBoolSetting(const QString &key)
return _settings.value(key, TELEMETRY_ENABLED_DEFAULT).toBool();
else if (key == "eject")
return _settings.value(key, true).toBool();
else if (key == "check_version")
return _settings.value(key, CHECK_VERSION_DEFAULT).toBool();
else
return _settings.value(key).toBool();
}