mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
- neutrino: cleanup update code
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -3068,21 +3068,9 @@ TIMER_START();
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
TIMER_STOP("################################## after all ##################################");
|
TIMER_STOP("################################## after all ##################################");
|
||||||
if (g_settings.softupdate_autocheck) {
|
|
||||||
#if 0
|
if (g_settings.softupdate_autocheck)
|
||||||
hintBox = new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_FLASHUPDATE_CHECKUPDATE_INTERNET));
|
|
||||||
hintBox->paint();
|
|
||||||
CFlashUpdate flash;
|
|
||||||
if(flash.checkOnlineVersion()) {
|
|
||||||
hintBox->hide();
|
|
||||||
//flash.enableNotify(false);
|
|
||||||
flash.exec(NULL, "inet");
|
|
||||||
}
|
|
||||||
hintBox->hide();
|
|
||||||
delete hintBox;
|
|
||||||
#endif
|
|
||||||
CFlashUpdateCheck::getInstance()->startThread();
|
CFlashUpdateCheck::getInstance()->startThread();
|
||||||
}
|
|
||||||
#if ENABLE_PKG_MANAGEMENT
|
#if ENABLE_PKG_MANAGEMENT
|
||||||
if (g_settings.softupdate_autocheck_packages)
|
if (g_settings.softupdate_autocheck_packages)
|
||||||
CUpdateCheckPackages::getInstance()->startThread();
|
CUpdateCheckPackages::getInstance()->startThread();
|
||||||
|
Reference in New Issue
Block a user