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

Pino Toscano pino at kde.org
Tue Jan 26 16:44:28 UTC 2010


SVN commit 1080657 by pino:

backport 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

CCBUG: 185659


 M  +1 -0      umlviewimageexportermodel.cpp  


--- branches/KDE/4.4/kdesdk/umbrello/umbrello/umlviewimageexportermodel.cpp #1080656:1080657
@@ -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