Salome HOME
Remove QT4 compatibility.
[modules/gui.git] / src / GraphicsView / GraphicsView_ViewPort.cxx
index fb156593c426a29c0c6703eb418814f04cee92b6..4607f6906105976e262fcb9a7951d0e7347912dd 100644 (file)
@@ -480,11 +480,7 @@ bool GraphicsView_ViewPort::dumpViewToFormat(const QString& fileName, const QStr
     return false;
 
   QPrinter printer(QPrinter::ScreenResolution);
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-  printer.setOutputFormat(QPrinter::PostScriptFormat);
-#else
   printer.setOutputFormat(QPrinter::PdfFormat);
-#endif
   printer.setOutputFileName(fileName);
   QPainter painter;  
   if (!painter.begin(&printer))