diff options
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; |