更新 'src/GUI/UpdateChecker.cxx'
This commit is contained in:
parent
cce046642c
commit
8bb3404be8
@ -83,6 +83,10 @@ UpdateChecker::UpdateChecker(QObject *parent) : QObject(parent)
|
|||||||
{
|
{
|
||||||
QSettings settings;
|
QSettings settings;
|
||||||
QDate nextCheck = settings.value("next-update-check").toDate();
|
QDate nextCheck = settings.value("next-update-check").toDate();
|
||||||
|
|
||||||
|
//zhongjin
|
||||||
|
SG_LOG(SG_IO, SG_WARN, "UpdateChecker()");
|
||||||
|
|
||||||
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(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user