[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdeutils/ark
From:       İsmail Dönmez <ismail () kde ! org>
Date:       2007-11-06 17:20:26
Message-ID: 1194369626.279389.12772.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 733552 by cartman:

Use QString::fromLocal8Bit on console data to fix display issues on Turkish locale

 M  +1 -1      arch.cpp  
 M  +1 -1      arch.h  
 M  +1 -1      rar.cpp  


--- branches/KDE/3.5/kdeutils/ark/arch.cpp #733551:733552
@@ -327,7 +327,7 @@
 
     pos = strpos + len;
 
-    columns[ curCol->colRef ] = line.mid( strpos, len );
+    columns[curCol->colRef] = QString::fromLocal8Bit( line.mid(strpos, len) );
   }
 
 
--- branches/KDE/3.5/kdeutils/ark/arch.h #733551:733552
@@ -142,7 +142,7 @@
 
     QString getUnarchUtility() { return m_unarchiver_program; }
 
-    void appendShellOutputData( const char * data ) { m_lastShellOutput.append( data \
); } +    void appendShellOutputData( const char * data ) { m_lastShellOutput.append( \
QString::fromLocal8Bit( data ) ); }  void clearShellOutput() { \
                m_lastShellOutput.truncate( 0 ); }
     const QString& getLastShellOutput() const { return m_lastShellOutput; }
 
--- branches/KDE/3.5/kdeutils/ark/rar.cpp #733551:733552
@@ -82,7 +82,7 @@
 {
   if ( m_isFirstLine )
   {
-    m_entryFilename = line;
+    m_entryFilename = QString::fromLocal8Bit( line );
     m_entryFilename.remove( 0, 1 );
     m_isFirstLine = false;
     return true;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic