更新 'src/GUI/UpdateChecker.cxx'

This commit is contained in:
zhongjin 2022-12-07 13:28:34 +08:00
parent cce046642c
commit 8bb3404be8

View File

@ -83,6 +83,10 @@ UpdateChecker::UpdateChecker(QObject *parent) : QObject(parent)
{
QSettings settings;
QDate nextCheck = settings.value("next-update-check").toDate();
//zhongjin
SG_LOG(SG_IO, SG_WARN, "UpdateChecker()");
if (!nextCheck.isValid()) {
// check tomorrow, so we don't nag immediately after insstallaion
const QDate n = QDate::currentDate().addDays(1);