gui/update_settings.cpp: cleanup unused updateItem

This commit is contained in:
[CST] Focus
2014-10-16 13:37:27 +04:00
parent f71396e455
commit 3c5d5634a4
2 changed files with 2 additions and 4 deletions

View File

@@ -45,10 +45,9 @@
#include <system/debug.h>
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

View File

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