diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-09-23 19:10:19 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-09-23 19:10:19 -0400 |
| commit | 088f27fe48cd8f218052090a97e8187eedf0c06e (patch) | |
| tree | 87e2695ff28c5fa4a7ef3610a0898f22776074e6 /src/settings.cpp | |
| parent | 200b5283eb5a0eff5ed18e772930b99eea5e11ef (diff) | |
changed the layout of the general settings tab
added option to disable checking for updates
removed online check, just try it and see
Diffstat (limited to 'src/settings.cpp')
| -rw-r--r-- | src/settings.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index c3e8781e..462cd92a 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -178,6 +178,16 @@ QString Settings::filename() const return m_Settings.fileName(); } +bool Settings::checkForUpdates() const +{ + return get<bool>(m_Settings, "Settings", "check_for_updates", true); +} + +void Settings::setCheckForUpdates(bool b) +{ + set(m_Settings, "Settings", "check_for_updates", b); +} + bool Settings::usePrereleases() const { return get<bool>(m_Settings, "Settings", "use_prereleases", false); |
