mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
change: enable automatic update checking by default
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
c16a25faef
commit
b3fa99dd2f
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ PrismExternalUpdater::PrismExternalUpdater(QWidget* parent, const QString& appDi
|
|||
auto settings_file = priv->dataDir.absoluteFilePath("prismlauncher_update.cfg");
|
||||
priv->settings = std::make_unique<QSettings>(settings_file, QSettings::Format::IniFormat);
|
||||
priv->allowBeta = priv->settings->value("allow_beta", false).toBool();
|
||||
priv->autoCheck = priv->settings->value("auto_check", false).toBool();
|
||||
priv->autoCheck = priv->settings->value("auto_check", true).toBool();
|
||||
bool interval_ok = false;
|
||||
// default once per day
|
||||
priv->updateInterval = priv->settings->value("update_interval", 86400).toInt(&interval_ok);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue