mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-29 13:21:54 +02:00
The locale configuration will now be saved.
This commit is contained in:
parent
ec000e0214
commit
ba9fef5c42
@ -1122,7 +1122,10 @@ void GMenu2X::options() {
|
|||||||
if (curMenuClock!=confInt["menuClock"]) setClock(confInt["menuClock"]);
|
if (curMenuClock!=confInt["menuClock"]) setClock(confInt["menuClock"]);
|
||||||
if (curGlobalVolume!=confInt["globalVolume"]) setVolume(confInt["globalVolume"]);
|
if (curGlobalVolume!=confInt["globalVolume"]) setVolume(confInt["globalVolume"]);
|
||||||
if (lang == "English") lang = "";
|
if (lang == "English") lang = "";
|
||||||
if (lang != tr.lang()) tr.setLang(lang);
|
if (lang != tr.lang()) {
|
||||||
|
tr.setLang(lang);
|
||||||
|
confStr["lang"] = lang;
|
||||||
|
}
|
||||||
/*if (fileExists(CARD_ROOT) && !showRootFolder)
|
/*if (fileExists(CARD_ROOT) && !showRootFolder)
|
||||||
unlink(CARD_ROOT);
|
unlink(CARD_ROOT);
|
||||||
else if (!fileExists(CARD_ROOT) && showRootFolder)
|
else if (!fileExists(CARD_ROOT) && showRootFolder)
|
||||||
|
Loading…
Reference in New Issue
Block a user