From c83d8bd37f3091726cd4a3b04e36fcd501f587e5 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 16 Oct 2014 13:37:27 +0400 Subject: [PATCH] gui/update_settings.cpp: cleanup unused updateItem Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/3c5d5634a40692a872a768c66a78fd931c028d83 Author: [CST] Focus Date: 2014-10-16 (Thu, 16 Oct 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/update_settings.cpp | 3 +-- src/gui/update_settings.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/update_settings.cpp b/src/gui/update_settings.cpp index 993b4131d..d682253d1 100644 --- a/src/gui/update_settings.cpp +++ b/src/gui/update_settings.cpp @@ -45,10 +45,9 @@ #include -CUpdateSettings::CUpdateSettings(CMenuForwarder * update_item) +CUpdateSettings::CUpdateSettings() { width = w_max (40, 10); - updateItem = update_item; #ifdef USE_SMS_INPUT input_url_file = new CStringInputSMS(LOCALE_FLASHUPDATE_URL_FILE, g_settings.softupdate_url_file, 30, NONEXISTANT_LOCALE, NONEXISTANT_LOCALE, "abcdefghijklmnopqrstuvwxyz0123456789!""$%&/()=?-. "); #endif diff --git a/src/gui/update_settings.h b/src/gui/update_settings.h index 65ffbb9db..44a7a16df 100644 --- a/src/gui/update_settings.h +++ b/src/gui/update_settings.h @@ -59,7 +59,6 @@ class CUpdateSettings : public CMenuTarget { private: int width; - CMenuForwarder * updateItem; int initMenu(); CFlashExpert *fe; @@ -68,7 +67,7 @@ class CUpdateSettings : public CMenuTarget #endif public: - CUpdateSettings(CMenuForwarder * update_item); + CUpdateSettings(); ~CUpdateSettings(); int exec(CMenuTarget* parent, const std::string & actionKey); };