This commit is contained in:
Matthias Kuhn 2019-11-03 21:33:03 +01:00
parent 6f43c98d0a
commit 80c0b944f0
2 changed files with 2 additions and 2 deletions

View File

@ -98,6 +98,7 @@ void QgsSymbolLayer::initPropertyDefinitions()
{ QgsSymbolLayer::PropertyPointCount, QgsPropertyDefinition( "pointCount", QObject::tr( "Point count" ), QgsPropertyDefinition::IntegerPositive, origin )},
{ QgsSymbolLayer::PropertyRandomSeed, QgsPropertyDefinition( "randomSeed", QgsPropertyDefinition::DataTypeNumeric, QObject::tr( "Random number seed" ), QObject::tr( "integer > 0, or 0 for completely random sequence" ), origin )},
{ QgsSymbolLayer::PropertyClipPoints, QgsPropertyDefinition( "clipPoints", QObject::tr( "Clip markers" ), QgsPropertyDefinition::Boolean, origin )},
{ QgsSymbolLayer::PropertyClipPoints, QgsPropertyDefinition( "densityArea", QObject::tr( "Density area" ), QgsPropertyDefinition::DoublePositive, origin )},
};
}

View File

@ -288,8 +288,7 @@ void TestQgsRangeWidgetWrapper::test_setDoubleLimits()
void TestQgsRangeWidgetWrapper::test_nulls()
{
QgsApplication::setNullRepresentation( QString() );
QgsApplication::setNullRepresentation( QString( "" ) );
QVariantMap cfg;
cfg.insert( QStringLiteral( "Min" ), 100.00 );