Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove QT4 compatibility.
[modules/gui.git]
/
src
/
Plot2d
/
Plot2d_ViewWindow.cxx
diff --git
a/src/Plot2d/Plot2d_ViewWindow.cxx
b/src/Plot2d/Plot2d_ViewWindow.cxx
old mode 100755
(executable)
new mode 100644
(file)
index
69e1310
..
861ab1e
--- a/
src/Plot2d/Plot2d_ViewWindow.cxx
+++ b/
src/Plot2d/Plot2d_ViewWindow.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
9
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-787,16
+787,6
@@
void Plot2d_ViewWindow::onPrintView()
if ( !myViewFrame )
return;
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;
// stored settings for further starts
static QString aPrinterName;
static int aColorMode = -1;