]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Some simplifications
authorageay <ageay>
Mon, 15 Oct 2012 08:39:58 +0000 (08:39 +0000)
committerageay <ageay>
Mon, 15 Oct 2012 08:39:58 +0000 (08:39 +0000)
src/Plot2d/Plot2d_ViewFrame.cxx
src/Plot2d/Plot2d_ViewFrame.h

index 3e65e51fee1e0c3ec695d091cdeb20d39e6c9f93..7d476dc541696ae51d3d61689b0eea9f8f353706 100755 (executable)
@@ -298,22 +298,7 @@ void Plot2d_ViewFrame::EraseAll()
       }
       myIntermittentSegmentList.clear();
   }
-
-  // 2)- Erase all curves points markers
-
-  int nbMark = myMarkerList.size();
-  if (nbMark > 0)
-  {
-      for (int imar=0; imar < nbMark; imar++)
-      {
-          QwtPlotMarker *marker = myMarkerList[imar];
-
-          marker->detach();  // erase in QwtPlot window
-          delete marker;
-      }
-      myMarkerList.clear();
-  }
-
+  
   // The graphic view's picker
   Plot2d_QwtPlotPicker *picker = myPlot->getPicker();
 
index a517e96a238922b6ba224c88a95d9f14b811667d..8125635a687f55a2bced6bc1e2d9847cd854a128 100755 (executable)
@@ -319,9 +319,6 @@ protected:
   // List of intermittent segments to connect curves
   QList<QwtPlotCurve*> myIntermittentSegmentList;
 
-  // List of markers associated with curves points
-  QList<QwtPlotMarker*> myMarkerList;
-
   // List of curves Plot2d_Curve
   QList<Plot2d_Curve*> myPlot2dCurveList;
 };