Skip to content

Commit

Permalink
Silency noisy debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 23, 2022
1 parent f0de98e commit 45ed5f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/qgsattributetabledialog.cpp
Expand Up @@ -1019,7 +1019,7 @@ void QgsAttributeTableDialog::setView( QgsDualView::ViewMode mode )

void QgsAttributeTableDialog::deleteFeature( const QgsFeatureId fid )
{
QgsDebugMsg( QStringLiteral( "Delete %1" ).arg( fid ) );
QgsDebugMsgLevel( QStringLiteral( "Delete %1" ).arg( fid ), 2 );

QgsVectorLayerUtils::QgsDuplicateFeatureContext infoContext;
if ( QgsVectorLayerUtils::impactsCascadeFeatures( mLayer, QgsFeatureIds() << fid, QgsProject::instance(), infoContext, QgsVectorLayerUtils::IgnoreAuxiliaryLayers ) )
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsactionmanager.cpp
Expand Up @@ -57,14 +57,14 @@ QUuid QgsActionManager::addAction( QgsAction::ActionType type, const QString &na

void QgsActionManager::addAction( const QgsAction &action )
{
QgsDebugMsg( "add action " + action.name() );
QgsDebugMsgLevel( "add action " + action.name(), 3 );
mActions.append( action );
if ( mLayer && mLayer->dataProvider() && !action.notificationMessage().isEmpty() )
{
mLayer->dataProvider()->setListening( true );
if ( !mOnNotifyConnected )
{
QgsDebugMsg( QStringLiteral( "connecting to notify" ) );
QgsDebugMsgLevel( QStringLiteral( "connecting to notify" ), 3 );
connect( mLayer->dataProvider(), &QgsDataProvider::notify, this, &QgsActionManager::onNotifyRunActions );
mOnNotifyConnected = true;
}
Expand Down

0 comments on commit 45ed5f7

Please sign in to comment.