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:
@@ -83,13 +83,13 @@ RiuMatrixPlotWidget::RiuMatrixPlotWidget( RimViewWindow* ownerViewWindow, RimReg
|
||||
// Configure main layout
|
||||
QHBoxLayout* mainLayout = new QHBoxLayout();
|
||||
mainLayout->setContentsMargins( 15, 15, 15, 15 );
|
||||
this->setLayout( mainLayout );
|
||||
setLayout( mainLayout );
|
||||
|
||||
// White background
|
||||
QPalette palette = this->palette();
|
||||
palette.setColor( QPalette::Window, Qt::white );
|
||||
this->setAutoFillBackground( true );
|
||||
this->setPalette( palette );
|
||||
setAutoFillBackground( true );
|
||||
setPalette( palette );
|
||||
|
||||
// Add plot to main layout
|
||||
m_plotWidget = new RiuQwtPlotWidget( nullptr, parent );
|
||||
|
||||
Reference in New Issue
Block a user