]> SALOME platform Git repositories - tools/paravisaddons_common.git/blobdiff - src/ElectromagnetismRotation/plugin/ParaViewPlugin/pqElectroRotationGroupWidget.cxx
Salome HOME
Issues/Warnings detected by Paraview 5.9 in some plugins
[tools/paravisaddons_common.git] / src / ElectromagnetismRotation / plugin / ParaViewPlugin / pqElectroRotationGroupWidget.cxx
index 0ee85e578a1439005a1320218aa7eca6437ee0e0..6dbcb6bf207792a692ac50c994f14ec820cbd814 100644 (file)
@@ -21,7 +21,7 @@
 #include "pqElectroRotationGroupWidget.h"
 
 #include "vtkElectromagnetismRotation.h"
-#include "vtkPVMetaDataInformation.h"
+#include "vtkPVMetaDataInformationERIO.h"
 
 #include "pqTreeWidget.h"
 #include "pqTreeWidgetItemObject.h"
@@ -51,7 +51,7 @@ pqElectroRotationGroupWidget::~pqElectroRotationGroupWidget()
 void pqElectroRotationGroupWidget::loadTreeWidgetItems()
 {
   // Recover Graph
-  vtkPVMetaDataInformation *info(vtkPVMetaDataInformation::New());
+  vtkPVMetaDataInformationERIO *info(vtkPVMetaDataInformationERIO::New());
   this->proxy()->GatherInformation(info);
   vtkGraph* graph = vtkGraph::SafeDownCast(info->GetInformationData());
   if(!graph)
@@ -152,7 +152,7 @@ void pqElectroRotationGroupWidget::loadTreeWidgetItems()
 
       // Tooltip
       grpItem->setData(0, Qt::ToolTipRole, name);
-      
+
       grpItem->setData(0, Qt::DecorationRole, QPixmap(":/ParaViewResources/Icons/pqCellData16.png"));
     }
   }