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); };