mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#10367 Janitor: Remove unneccessary 'this' pointers
This commit is contained in:
@@ -104,8 +104,8 @@ RiuGridCrossQwtPlot::RiuGridCrossQwtPlot( RimGridCrossPlot* plot, QWidget* paren
|
||||
RiuQwtPlotTools::setCommonPlotBehaviour( qwtPlot() );
|
||||
RiuQwtPlotTools::setDefaultAxes( qwtPlot() );
|
||||
|
||||
this->installEventFilter( this );
|
||||
this->qwtPlot()->canvas()->installEventFilter( this );
|
||||
installEventFilter( this );
|
||||
qwtPlot()->canvas()->installEventFilter( this );
|
||||
|
||||
setInternalQwtLegendVisible( true );
|
||||
|
||||
@@ -177,11 +177,11 @@ void RiuGridCrossQwtPlot::setInternalQwtLegendVisible( bool visible )
|
||||
if ( visible )
|
||||
{
|
||||
QwtLegend* legend = new QwtLegend( this );
|
||||
this->qwtPlot()->insertLegend( legend, QwtPlot::BottomLegend );
|
||||
qwtPlot()->insertLegend( legend, QwtPlot::BottomLegend );
|
||||
}
|
||||
else
|
||||
{
|
||||
this->qwtPlot()->insertLegend( nullptr );
|
||||
qwtPlot()->insertLegend( nullptr );
|
||||
}
|
||||
}
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user