Skip to content
Permalink
Browse files

Fix broken use of HTML entities for property help strings

  • Loading branch information
github-actions authored and nyalldawson committed Jun 2, 2020
1 parent 616b94f commit 8da482bd6a35749119fe6abbec4a070eb58c267b
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/core/qgsproperty.cpp
@@ -37,27 +37,27 @@ QgsPropertyDefinition::QgsPropertyDefinition( const QString &name, const QString

case Integer:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "int [<= 0 =>]" );
mHelpText = QObject::tr( "int [ 0 ]" );
break;

case IntegerPositive:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "int [>= 0]" );
mHelpText = QObject::tr( "int [ 0]" );
break;

case IntegerPositiveGreaterZero:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "int [>= 1]" );
mHelpText = QObject::tr( "int [ 1]" );
break;

case Double:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "double [<= 0.0 =>]" );
mHelpText = QObject::tr( "double [ 0.0 ]" );
break;

case DoublePositive:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "double [>= 0.0]" );
mHelpText = QObject::tr( "double [ 0.0]" );
break;

case Double0To1:
@@ -114,7 +114,7 @@ QgsPropertyDefinition::QgsPropertyDefinition( const QString &name, const QString

case Size:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "double [>= 0.0]" );
mHelpText = QObject::tr( "double [ 0.0]" );
break;

case Size2D:
@@ -129,7 +129,7 @@ QgsPropertyDefinition::QgsPropertyDefinition( const QString &name, const QString

case StrokeWidth:
mTypes = DataTypeNumeric;
mHelpText = QObject::tr( "double [>= 0.0]" );
mHelpText = QObject::tr( "double [ 0.0]" );
break;

case FillStyle:

0 comments on commit 8da482b

Please sign in to comment.
You can’t perform that action at this time.