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

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/kaddressbook/xxport
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2008-01-07 17:41:45
Message-ID: 1199727705.409050.4919.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 758346 by mkoller:

remove another superfluous pre conversion from utf8
before correct vcard parsing


 M  +2 -4      vcard_xxport.cpp  


--- branches/KDE/3.5/kdepim/kaddressbook/xxport/vcard_xxport.cpp #758345:758346
@@ -205,10 +205,8 @@
         if ( file.open( IO_ReadOnly ) ) {
           QByteArray rawData = file.readAll();
           file.close();
-          if ( rawData.size() > 0 ) {
-            const QString data = QString::fromUtf8( rawData.data(), rawData.size() );
-            addrList += parseVCard( data );
-          }
+          if ( rawData.size() > 0 )
+            addrList += parseVCard( rawData );
 
           KIO::NetAccess::removeTempFile( fileName );
         } else {
[prev in list] [next in list] [prev in thread] [next in thread] 

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