#10367 Janitor: Remove unneccessary 'this' pointers

This commit is contained in:
Kristian Bendiksen
2023-08-04 09:04:14 +02:00
parent 2614cf3d62
commit 5bf2c2a89d
292 changed files with 1625 additions and 1664 deletions

View File

@@ -45,9 +45,9 @@ RiuWellAllocationPlot::RiuWellAllocationPlot( RimWellAllocationPlot* plotDefinit
Q_ASSERT( m_plotDefinition );
QVBoxLayout* mainLayout = new QVBoxLayout();
this->setLayout( mainLayout );
this->layout()->setMargin( 0 );
this->layout()->setSpacing( 2 );
setLayout( mainLayout );
layout()->setMargin( 0 );
layout()->setSpacing( 2 );
m_titleLabel = new QLabel( this );
m_titleLabel->setWordWrap( true );
@@ -61,10 +61,10 @@ RiuWellAllocationPlot::RiuWellAllocationPlot( RimWellAllocationPlot* plotDefinit
m_titleLabel->setFont( font );
// White background
QPalette pal = this->palette();
QPalette pal = palette();
pal.setColor( QPalette::Window, Qt::white );
this->setAutoFillBackground( true );
this->setPalette( pal );
setAutoFillBackground( true );
setPalette( pal );
mainLayout->addWidget( m_titleLabel );