Skip to content
Permalink
Browse files
Review the logging when saving/updating symbols in qgstyle.cpp
  • Loading branch information
Gustry authored and nyalldawson committed Dec 21, 2021
1 parent dd25b28 commit ca5c83a64e2012fa92e4519d20a70806d41566b9
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/symbology/qgsstyle.cpp
@@ -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;
}
}
@@ -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

0 comments on commit ca5c83a

Please sign in to comment.