#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

@@ -60,7 +60,7 @@ RiuSummaryVectorSelectionDialog::RiuSummaryVectorSelectionDialog( QWidget* paren
mainLayout->addLayout( labelLayout );
m_addrSelWidget->summaryAddressSelection()->setFieldChangedHandler( [this]() { this->updateLabel(); } );
m_addrSelWidget->summaryAddressSelection()->setFieldChangedHandler( [this]() { updateLabel(); } );
updateLabel();
}
@@ -229,7 +229,7 @@ RiuSummaryVectorSelectionUi* RiuSummaryVectorSelectionDialog::summaryAddressSele
void RiuSummaryVectorSelectionDialog::updateLabel()
{
QString curveAddressText;
std::vector<RiaSummaryCurveDefinition> sumCasePairs = this->summaryAddressSelection()->selection();
std::vector<RiaSummaryCurveDefinition> sumCasePairs = summaryAddressSelection()->selection();
if ( sumCasePairs.size() == 1 )
{
curveAddressText = sumCasePairs.front().curveDefinitionText();