Fix comparison

This commit is contained in:
Nyall Dawson 2024-11-20 15:53:42 +10:00
parent a6a18a93bc
commit f7e1550a6d
No known key found for this signature in database
GPG Key ID: 4C61673F0BF197FC

View File

@ -62,7 +62,7 @@ QgsTextBackgroundSettings::~QgsTextBackgroundSettings() //NOLINT
bool QgsTextBackgroundSettings::operator==( const QgsTextBackgroundSettings &other ) const
{
if ( !d->enabled == other.enabled()
if ( d->enabled != other.enabled()
|| d->type != other.type()
|| d->svgFile != other.svgFile()
|| d->sizeType != other.sizeType()