From 2af2e1c6f6f1f199e9347bb2ff08007da8288574 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 12 Apr 2021 23:02:51 +0200 Subject: [PATCH] neutrino: cleanup update code Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1ff45b295e2aeb786585956d133f33ee480debb1 Author: vanhofen Date: 2021-04-12 (Mon, 12 Apr 2021) Origin message was: ------------------ - neutrino: cleanup update code ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/neutrino.cpp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 938325afc..ceb35928c 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3136,21 +3136,9 @@ TIMER_START(); #endif TIMER_STOP("################################## after all ##################################"); - if (g_settings.softupdate_autocheck) { -#if 0 - 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 + + if (g_settings.softupdate_autocheck) CFlashUpdateCheck::getInstance()->startThread(); - } #if ENABLE_PKG_MANAGEMENT if (g_settings.softupdate_autocheck_packages) CUpdateCheckPackages::getInstance()->startThread();