Fix kxdglauncher locale issue

This closes Bug 988
Thanks to Roman Savochenko for the patch!
(cherry picked from commit e12ae2b650)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 05322ae8b7
commit 5a0055f9dd

@ -103,7 +103,7 @@ int main( int argc, char **argv)
TQDir myqdir;
if (myqdir.exists(getDocumentPath(), TRUE) == true) {
if (args->isSet( "getpath" ) == true) {
printf("%s\n\r", getDocumentPath().ascii());
printf("%s\n\r", (const char *)getDocumentPath().local8Bit());
return 0;
}
else {
@ -140,7 +140,7 @@ int main( int argc, char **argv)
config.writeEntry("XDG_DOCUMENTS_DIR", TQString("\"") + xdgModifiedDirectory + TQString("\""), true);
config.sync();
if (args->isSet( "getpath" ) == true) {
printf("%s\n\r", getDocumentPath().ascii());
printf("%s\n\r", (const char *)getDocumentPath().local8Bit());
return 0;
}
else {

Loading…
Cancel
Save