Skip to content

Commit

Permalink
Fix comparison
Browse files Browse the repository at this point in the history
(cherry picked from commit f7e1550)
  • Loading branch information
nyalldawson committed Nov 21, 2024
1 parent fdee864 commit 58bb99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/textrenderer/qgstextbackgroundsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,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()
Expand Down

0 comments on commit 58bb99d

Please sign in to comment.