diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-12-18 02:32:16 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-12-18 02:32:16 +0000 |
commit | 2abe1e6f4022109b1e179242aa9765810d7f680c (patch) | |
tree | 408f52f8bc6e4ae2a1c093439be5404fbbce56be /ark/arch.cpp | |
parent | 2bda8f7717adf28da4af0d34fb82f63d2868c31d (diff) | |
download | tdeutils-2abe1e6f4022109b1e179242aa9765810d7f680c.tar.gz tdeutils-2abe1e6f4022109b1e179242aa9765810d7f680c.zip |
* ark context un[tar/zip/bz] crash repair
* gcc4.4 compilation fixes
* superkaramba xmms sensor addition
* automake updates
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1063396 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ark/arch.cpp')
-rw-r--r-- | ark/arch.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ark/arch.cpp b/ark/arch.cpp index 8ff6a2b..999647a 100644 --- a/ark/arch.cpp +++ b/ark/arch.cpp @@ -262,7 +262,9 @@ void Arch::slotReceivedTOC( KProcess*, char* data, int length ) break; // We are done all the complete lines data[ lfChar ] = '\0'; - m_buffer.append( data + startChar ); + + m_buffer.append( QString::fromUtf8(data + startChar).latin1() ); + data[ lfChar ] = '\n'; startChar = lfChar + 1; |