fix deprecation warning (#31141)

This commit is contained in:
Denis Rouzaud 2019-08-07 17:40:50 +02:00 committed by GitHub
parent 4e56eaf035
commit 97a002f35a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,8 +55,8 @@ rulesDialog::rulesDialog( const QMap<QString, TopologyRule> &testMap, QgisInterf
connect( mDeleteTestButton, &QAbstractButton::clicked, this, &rulesDialog::deleteTest );
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &rulesDialog::showHelp );
connect( mLayer1Box, static_cast<void ( QComboBox::* )( const QString & )>( &QComboBox::currentIndexChanged ), this, &rulesDialog::updateRuleItems );
connect( mRuleBox, static_cast<void ( QComboBox::* )( const QString & )>( &QComboBox::currentIndexChanged ), this, &rulesDialog::showControls );
connect( mLayer1Box, &QComboBox::currentTextChanged, this, &rulesDialog::updateRuleItems );
connect( mRuleBox, &QComboBox::currentTextChanged, this, &rulesDialog::showControls );
mRuleBox->setCurrentIndex( 0 );