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

index 7d476dc541696ae51d3d61689b0eea9f8f353706..842af7ded78e48b331514194123930e6dcb69217 100755 (executable)
@@ -299,15 +299,6 @@ void Plot2d_ViewFrame::EraseAll()
       myIntermittentSegmentList.clear();
   }
   
-  // The graphic view's picker
-  Plot2d_QwtPlotPicker *picker = myPlot->getPicker();
-
-  // Clear points markers list and associations (marker,tooltip)
-  if ( picker ) {
-    picker->pMarkers.clear();         // QList<QwtPlotMarker*>
-    picker->pMarkersToolTip.clear();  // QMap<QwtPlotMarker*, QwtText>
-  }
-
   // 3)- Erase all QwtPlotCurve associated with the Plot2d_Curve
 
   int nbCur1 = myQwtPlotCurveList.size();