[Uml-devel] branches/work/soc-umbrello/umbrello
Gopala Krishna A
krishna.ggk at gmail.com
Tue Jul 8 19:31:20 UTC 2008
SVN commit 829646 by gopala:
Merged revisions 821827 via svnmerge from
svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdesdk/umbrello
........
r821827 | gopala | 2008-06-18 21:24:54 +0530 (Wed, 18 Jun 2008) | 4 lines
Fixed svg exporting of the diagram.
Had to use QSvgGenerator as the paint device rather than the QPicture.
........
M +2 -1 uml.cpp
--- branches/work/soc-umbrello/umbrello/uml.cpp #829645:829646
@@ -1280,7 +1280,8 @@
{
QStringList supportedFormats = mimeData->formats();
foreach( const QString &format, supportedFormats ) {
- const char* f = format.toAscii().constData();
+ QByteArray fba = format.toAscii();
+ const char* f = fba.constData();
if ( !qstrnicmp(f,"application/x-uml-clip", 22) ) {
//FIXME need to test for clip1, clip2, clip3, clip4 or clip5
//(the only valid clip types)
More information about the umbrello-devel
mailing list