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 22, 2021
1 parent e46de3c commit c82c2f3960ef551aebe1d87cc02ae6cc888a98ed
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 c82c2f3

Please sign in to comment.