summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-10 01:50:59 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-10 01:50:59 -0500
commite12ae2b6508702daa1f2c50e1bec3e006a44249a (patch)
treebbab7f4a76184985782f853ba9bc0986a0349074
parentdfb75324af3dfdb983f354782c6025f37e665ee5 (diff)
downloadtdebase-e12ae2b6508702daa1f2c50e1bec3e006a44249a.tar.gz
tdebase-e12ae2b6508702daa1f2c50e1bec3e006a44249a.zip
Fix kxdglauncher locale issue
This closes Bug 988 Thanks to Roman Savochenko for the patch!
-rw-r--r--kdesktop/kxdglauncher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdesktop/kxdglauncher.cpp b/kdesktop/kxdglauncher.cpp
index d8bb79ec3..631843dec 100644
--- a/kdesktop/kxdglauncher.cpp
+++ b/kdesktop/kxdglauncher.cpp
@@ -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 {