更新 'src/GUI/UpdateChecker.cxx'
This commit is contained in:
parent
4fa1253534
commit
0d17fe8358
@ -87,7 +87,7 @@ UpdateChecker::UpdateChecker(QObject *parent) : QObject(parent)
|
|||||||
|
|
||||||
if (!nextCheck.isValid()) {
|
if (!nextCheck.isValid()) {
|
||||||
// check tomorrow, so we don't nag immediately after insstallaion
|
// 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);
|
settings.setValue("next-update-check", n);
|
||||||
|
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ UpdateChecker::UpdateChecker(QObject *parent) : QObject(parent)
|
|||||||
|
|
||||||
|
|
||||||
//zhongjin
|
//zhongjin
|
||||||
SG_LOG(SG_IO, SG_WARN, "UpdateChecker()" << nextCheck);
|
SG_LOG(SG_IO, SG_WARN, "UpdateChecker()" );
|
||||||
|
|
||||||
// start a check
|
// start a check
|
||||||
auto http = globals->get_subsystem<FGHTTPClient>();
|
auto http = globals->get_subsystem<FGHTTPClient>();
|
||||||
|
Loading…
Reference in New Issue
Block a user