Skip to content

Commit

Permalink
Review the logging when saving/updating symbols in qgstyle.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry authored and nyalldawson committed Dec 22, 2021
1 parent e46de3c commit c82c2f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/symbology/qgsstyle.cpp
Expand Up @@ -2317,7 +2317,7 @@ int QgsStyle::addSmartgroup( const QString &name, const QString &op, const QStri
}
else
{
QgsDebugMsg( QStringLiteral( "Couldn't insert symbol into the database!" ) );
QgsDebugMsg( QStringLiteral( "Couldn't add the smart group into the database!" ) );
return 0;
}
}
Expand Down Expand Up @@ -3204,7 +3204,7 @@ bool QgsStyle::updateSymbol( StyleEntity type, const QString &name )

if ( !runEmptyQuery( query ) )
{
QgsDebugMsg( QStringLiteral( "Couldn't insert symbol into the database!" ) );
QgsDebugMsg( QStringLiteral( "Couldn't update symbol into the database!" ) );
return false;
}
else
Expand Down

0 comments on commit c82c2f3

Please sign in to comment.