mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
Preparing the menu classes for Lua Part #2
- Remove CMenuForwarderNonLocalized - Add overloaded function CMenuForwarder for non local THX Martii
This commit is contained in:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user