[Uml-devel] branches/work/kde4/kdesdk/umbrello/umbrello/clipboard

Laurent Montel montel at kde.org
Tue Jul 19 03:11:46 UTC 2005


SVN commit 436203 by mlaurent:

Test my new script to port QDataStream to new API


 M  +1 -1      umldrag.cpp  


--- branches/work/kde4/kdesdk/umbrello/umbrello/clipboard/umldrag.cpp #436202:436203
@@ -267,7 +267,7 @@
     long l_size = (pngImage.convertToImage()).numBytes();
     QByteArray clipdata;
     clipdata.resize(l_size);
-    QDataStream clipstream(clipdata, QIODevice::WriteOnly);
+    QDataStream clipstream( &clipdata,QIODevice::WriteOnly);
     clipstream << pngImage;
     setEncodedData(clipdata, 1);
 }




More information about the umbrello-devel mailing list