Preparing the menu classes for Lua Part #2

- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
  THX Martii
This commit is contained in:
M. Liebmann
2014-01-16 23:20:04 +01:00
parent 2c9c9debcc
commit b41819190d
35 changed files with 298 additions and 356 deletions

View File

@@ -129,9 +129,9 @@ void CThemes::readThemes(CMenuWidget &themes)
*pos = '\0';
if ( p == 1 ) {
userThemeFile = "{U}" + (std::string)file;
oj = new CMenuForwarderNonLocalized((char*)file, true, "", this, userThemeFile.c_str());
oj = new CMenuForwarder((char*)file, true, "", this, userThemeFile.c_str());
} else
oj = new CMenuForwarderNonLocalized((char*)file, true, "", this, file);
oj = new CMenuForwarder((char*)file, true, "", this, file);
themes.addItem( oj );
}
free(themelist[count]);