]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
refs #1431 HighResolution=>ScreenResolution
authorisn <isn@opencascade.com>
Tue, 21 Nov 2017 18:40:08 +0000 (21:40 +0300)
committerisn <isn@opencascade.com>
Tue, 21 Nov 2017 18:40:08 +0000 (21:40 +0300)
src/GraphicsView/GraphicsView_ViewPort.cxx

index 9cafbd7372132fe42fe837153ec083f4cfac212d..1c4739bcfe1e7cceca65a5fdff98023b2930638e 100644 (file)
@@ -461,7 +461,7 @@ QImage GraphicsView_ViewPort::dumpView( bool theWholeScene,
 
 bool GraphicsView_ViewPort::dumpViewToPSFormat(const QString& fileName)
 {
-  QPrinter printer(QPrinter::HighResolution);
+  QPrinter printer(QPrinter::ScreenResolution);
   printer.setOutputFormat(QPrinter::PostScriptFormat);
   printer.setOutputFileName(fileName);
   QPainter painter;