Salome HOME
Remove QT4 compatibility.
[modules/gui.git] / src / Plot2d / Plot2d_ViewWindow.cxx
index b2ca7284b52e42baf00dd24a3d4e64587908013f..861ab1e5ca5b6b010c2dc782f78ed99be2cce733 100644 (file)
@@ -787,16 +787,6 @@ void Plot2d_ViewWindow::onPrintView()
   if ( !myViewFrame )
     return;
 
-#if !defined(WIN32) && !defined(QT_NO_CUPS)
-#if QT_VERSION < 0x040303
-  if ( !Qtx::hasAnyPrinters() ) {
-    SUIT_MessageBox::warning( this, tr( "WRN_WARNING" ),
-                              tr( "WRN_NO_PRINTERS" ) );
-    return;
-  }
-#endif
-#endif
-
   // stored settings for further starts
   static QString aPrinterName;
   static int aColorMode = -1;