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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user