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

List:       kde-commits
Subject:    kdebase/kcontrol/kfontinst
From:       Craig Drummond <craig () kde ! org>
Date:       2005-03-01 21:58:46
Message-ID: 20050301215846.8E41616EF1 () office ! kde ! org
[Download RAW message or body]

CVS commit by craig: 

BUGS:100482
Use QTextStream as apposed to QDataStream when saving/reading url. 


  M +3 -3      kio/KioFonts.cpp   1.52
  M +1 -1      lib/FcEngine.cpp   1.8


--- kdebase/kcontrol/kfontinst/kio/KioFonts.cpp  #1.51:1.52
@@ -812,5 +812,5 @@ void CKioFonts::get(const KURL &url)
         {
             QByteArray  array;
-            QDataStream stream(array, IO_WriteOnly);
+            QTextOStream stream(array);
 
             emit mimeType("text/pain");

--- kdebase/kcontrol/kfontinst/lib/FcEngine.cpp  #1.7:1.8
@@ -900,5 +900,5 @@ bool CFcEngine::parseUrl(const KURL &url
         {
             QString     thumbUrl;
-            QDataStream stream(&file);
+            QTextStream stream(&file);
 
             stream >> thumbUrl;


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

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