mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Merge pull request #362 from lnussel/qml
Add compile time options for telemetry and updates
This commit is contained in:
commit
d2a92383b6
4 changed files with 18 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue