Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ExportImageOp.cxx
index 9faabcbabedee887079b132e741a9f2067cc02ef..f4360ba67c3779e6a4b8414ec818d0e552e7ff48 100644 (file)
@@ -1,8 +1,4 @@
-// Copyright (C) 2007-2015  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) 2014-2015  EDF-R&D
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
@@ -23,7 +19,7 @@
 #include "HYDROGUI_ExportImageOp.h"
 
 #include "HYDROGUI_Module.h"
-#include "HYDROGUI_Tool.h"
+#include "HYDROGUI_Tool2.h"
 
 #include <HYDROData_Image.h>
 
@@ -63,7 +59,7 @@ void HYDROGUI_ExportImageOp::startOperation()
     // Invert the Y axis direction from down to up
     anImage = anImage.transformed( QTransform::fromScale( 1, -1 ), Qt::SmoothTransformation );
     
-    QString aFilter( tr( "IMAGE_FILTER" ) );
+    QString aFilter( tr( "IMAGE_FILTER_EXPORT" ) );
     QString aFileName = SUIT_FileDlg::getFileName( module()->getApp()->desktop(),
                                                    "", aFilter, tr( "EXPORT_IMAGE_TO_FILE" ), false );
     if( !aFileName.isEmpty() )