delay initial update check and by default turn off
This commit is contained in:
parent
67c17ab128
commit
31fc63e422
@ -267,7 +267,7 @@ Application::Application(const QString& id, int& argc, char** argv, const QStrin
|
|||||||
m_notifications->load(settings());
|
m_notifications->load(settings());
|
||||||
}
|
}
|
||||||
|
|
||||||
QTimer::singleShot(1000, system(), &SystemFactory::checkForUpdatesOnStartup);
|
QTimer::singleShot(15000, system(), &SystemFactory::checkForUpdatesOnStartup);
|
||||||
|
|
||||||
setupWorkHorsePool();
|
setupWorkHorsePool();
|
||||||
|
|
||||||
|
@ -398,7 +398,7 @@ DVALUE(char*) GUI::StyleDef = APP_STYLE_DEFAULT;
|
|||||||
DKEY General::ID = "main";
|
DKEY General::ID = "main";
|
||||||
|
|
||||||
DKEY General::UpdateOnStartup = "update_on_start";
|
DKEY General::UpdateOnStartup = "update_on_start";
|
||||||
DVALUE(bool) General::UpdateOnStartupDef = true;
|
DVALUE(bool) General::UpdateOnStartupDef = false;
|
||||||
|
|
||||||
DKEY General::FirstRun = "first_run";
|
DKEY General::FirstRun = "first_run";
|
||||||
DVALUE(bool) General::FirstRunDef = true;
|
DVALUE(bool) General::FirstRunDef = true;
|
||||||
|
@ -272,7 +272,7 @@ void SystemFactory::checkForUpdatesOnStartup() {
|
|||||||
}});
|
}});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
qApp->system()->checkForUpdates();
|
checkForUpdates();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user