Salome HOME
Merge from branch mpa/qwt6_porting
[modules/gui.git] / src / Plot2d / Plot2d_ViewManager.cxx
index 29b7cbf72fba86793a38ea49ad5a81bd12103b62..94e86e02cf19d503523b5a7d8092a647f4dbfd76 100755 (executable)
@@ -66,8 +66,8 @@ bool Plot2d_ViewManager::insertView( SUIT_ViewWindow* theView )
 
     Plot2d_ViewFrame* aViewFrame = view->getViewFrame();
     Plot2d_Viewer* aViewer = getPlot2dModel();
-    connect( aViewFrame, SIGNAL( legendClicked( QwtPlotItem* ) ), 
-             aViewer, SLOT( onLegendClicked( QwtPlotItem* ) ) );
+    connect( aViewFrame, SIGNAL( clicked(const QVariant&, int) ),
+             aViewer, SLOT( onClicked(const QVariant&, int) ) );
   }
   return res;
 }