mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-02-05 17:01:06 +02:00
Merge remote branch 'origin/master'
This commit is contained in:
commit
f9db1fbd53
@ -73,7 +73,7 @@ void FileLister::browse()
|
|||||||
if (showDirectories || showFiles) {
|
if (showDirectories || showFiles) {
|
||||||
DIR *dirp;
|
DIR *dirp;
|
||||||
if ((dirp = opendir(path.c_str())) == NULL) {
|
if ((dirp = opendir(path.c_str())) == NULL) {
|
||||||
ERROR("Error: opendir(%s)\n", path.c_str());
|
ERROR("Unable to open directory: %s\n", path.c_str());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user