|
|
result << tmp; | result << tmp; |
} | } |
| |
|
if (valids.contains("locale") && fstype == "ntfs-3g") |
|
{ |
|
char *cType; |
|
if ( (cType = getenv("LC_ALL")) || (cType = getenv("LC_CTYPE")) || (cType = getenv("LANG")) ) { |
|
result << QString("locale=%1").arg(cType); |
|
} |
|
} |
|
|
if (valids.contains("utf8")) | if (valids.contains("utf8")) |
{ | { |
value = config.readBoolEntry("utf8", true); | value = config.readBoolEntry("utf8", true); |
|
|
if (valids["quiet"] == "true") | if (valids["quiet"] == "true") |
soptions << "quiet"; | soptions << "quiet"; |
| |
|
if (valids.contains("locale")) |
|
{ |
|
soptions << QString("locale=%1").arg(valids["locale"]); |
|
} |
|
|
if (valids["utf8"] == "true") | if (valids["utf8"] == "true") |
soptions << "utf8"; | soptions << "utf8"; |
| |