mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
#10367 Janitor: Remove unneccessary 'this' pointers
This commit is contained in:
1 parent
2614cf3d62
commit
5bf2c2a89d
292 files changed
+1625
-1664
No files matched your search
@@ -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