From 6f70d3355f23ff20caeaec566bbc0f58bfefefb1 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 10 Apr 2021 22:19:43 +0200 Subject: [PATCH] update-settings: fix chery pick Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/a58774febdcc9d3207b18960bee81f775602bccd Author: vanhofen Date: 2021-04-10 (Sat, 10 Apr 2021) Origin message was: ------------------ - update-settings: fix chery pick ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/update_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/update_settings.cpp b/src/gui/update_settings.cpp index 5e42aecf9..f8d6f0e3b 100644 --- a/src/gui/update_settings.cpp +++ b/src/gui/update_settings.cpp @@ -161,8 +161,8 @@ int CUpdateSettings::initMenu() autocheck = new CMenuOptionChooser(LOCALE_FLASHUPDATE_AUTOCHECK, &g_settings.softupdate_autocheck, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this); autocheck->setHint("", LOCALE_MENU_HINT_AUTO_UPDATE_CHECK); -#if 0 CMenuOptionChooser *package_autocheck = NULL; +#if 0 if (COPKGManager::hasOpkgSupport()){ package_autocheck = new CMenuOptionChooser(LOCALE_FLASHUPDATE_AUTOCHECK_PACKAGES, &g_settings.softupdate_autocheck_packages, AUTOUPDATE_CHECK_OPTIONS, auto_update_options_count, true, this); package_autocheck->setHint("", LOCALE_MENU_HINT_AUTO_UPDATE_CHECK);