diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-12-15 04:13:17 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-12-15 04:13:17 +0100 |
commit | 56068041d48d50d58cefdaa37754cb6f6f4d93f6 (patch) | |
tree | 19361509991bbd959687d251c45119a41f352094 /tdeio | |
parent | 47bbb9e40bae4d9692aca35cbfdcdbf4b44a110d (diff) | |
download | tdelibs-56068041d48d50d58cefdaa37754cb6f6f4d93f6.tar.gz tdelibs-56068041d48d50d58cefdaa37754cb6f6f4d93f6.zip |
Fix KDiskFreeSp for mount points with UTF8 characters
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/tdefile/kdiskfreesp.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tdeio/tdefile/kdiskfreesp.cpp b/tdeio/tdefile/kdiskfreesp.cpp index 9a6959fdd..1552e01d2 100644 --- a/tdeio/tdefile/kdiskfreesp.cpp +++ b/tdeio/tdefile/kdiskfreesp.cpp @@ -99,6 +99,7 @@ void KDiskFreeSp::dfDone() readingDFStdErrOut=true; TQTextStream t (dfStringErrOut, IO_ReadOnly); + t.setEncoding(TQTextStream::Locale); TQString s=t.readLine(); if ( (s.isEmpty()) || ( s.left(10) != TQString::fromLatin1("Filesystem") ) ) kdError() << "Error running df command... got [" << s << "]" << endl; |