Add update checking system to Qt UI

* This only runs on windows - on other platforms we rely on system
  distribution or user local builds.
This commit is contained in:
baldurk
2017-12-19 17:31:32 +00:00
parent 08c67f2149
commit 764b39a23c
16 changed files with 1283 additions and 50 deletions
@@ -222,6 +222,12 @@ void SettingsDialog::on_CheckUpdate_AllowChecks_toggled(bool checked)
{
m_Ctx.Config().CheckUpdate_AllowChecks = ui->CheckUpdate_AllowChecks->isChecked();
if(!m_Ctx.Config().CheckUpdate_AllowChecks)
{
m_Ctx.Config().CheckUpdate_UpdateAvailable = false;
m_Ctx.Config().CheckUpdate_UpdateResponse = "";
}
m_Ctx.Config().Save();
}