[Uml-devel] KDE/kdesdk/umbrello/umbrello

Pino Toscano pino at kde.org
Tue Jan 26 16:42:52 UTC 2010


SVN commit 1080656 by pino:

same fix as in the kdelibs eps exporter:
make sure that the format of the output file is really postscript

fixed for kde 4.4
BUG: 185659


 M  +1 -0      umlviewimageexportermodel.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/umlviewimageexportermodel.cpp #1080655:1080656
@@ -356,6 +356,7 @@
         printer = new QPrinter(QPrinter::ScreenResolution);
     }
     printer->setOutputFileName(fileName);
+    printer->setOutputFormat(QPrinter::PostScriptFormat);
     printer->setColorMode(QPrinter::Color);
 
     // do not call printer.setup(); because we want no user




More information about the umbrello-devel mailing list