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> | 2015-12-23 02:22:34 +0100 |
commit | 5ab6b051a59e32b34396a0ce7ceee40c3b0177e2 (patch) | |
tree | a65594c1a04abc1ec568430a7a34f146391aae4b | |
parent | 33f00925ff47cc9a2484abe2744b585b2a4728bb (diff) | |
download | tdelibs-5ab6b051a59e32b34396a0ce7ceee40c3b0177e2.tar.gz tdelibs-5ab6b051a59e32b34396a0ce7ceee40c3b0177e2.zip |
Fix KDiskFreeSp for mount points with UTF8 characters
(cherry picked from commit 56068041d48d50d58cefdaa37754cb6f6f4d93f6)
-rw-r--r-- | kio/kfile/kdiskfreesp.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kio/kfile/kdiskfreesp.cpp b/kio/kfile/kdiskfreesp.cpp index 179b69f72..f71812da2 100644 --- a/kio/kfile/kdiskfreesp.cpp +++ b/kio/kfile/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; |