更新 'src/GUI/UpdateChecker.cxx'

This commit is contained in:
zhongjin 2022-12-07 13:35:14 +08:00
parent 4fa1253534
commit 0d17fe8358

View File

@ -87,7 +87,7 @@ UpdateChecker::UpdateChecker(QObject *parent) : QObject(parent)
if (!nextCheck.isValid()) {
// check tomorrow, so we don't nag immediately after insstallaion
const QDate n = QDate::currentDate().addDays(1);
const QDate n = QDate::currentDate().addDays(0);
settings.setValue("next-update-check", n);
@ -98,7 +98,7 @@ UpdateChecker::UpdateChecker(QObject *parent) : QObject(parent)
//zhongjin
SG_LOG(SG_IO, SG_WARN, "UpdateChecker()" << nextCheck);
SG_LOG(SG_IO, SG_WARN, "UpdateChecker()" );
// start a check
auto http = globals->get_subsystem<FGHTTPClient>();