mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
remove unwanted ternary operator
This commit is contained in:
parent
ac0249e8bc
commit
f3f04a94d5
@ -63,7 +63,7 @@ bool QgsProjectTimeSettings::readXml( const QDomElement &element, const QgsReadW
|
||||
mTimeStepUnit = QgsUnitTypes::decodeTemporalUnit( element.attribute( QStringLiteral( "timeStepUnit" ), QgsUnitTypes::encodeUnit( QgsUnitTypes::TemporalHours ) ) );
|
||||
mTimeStep = element.attribute( QStringLiteral( "timeStep" ), "1" ).toDouble();
|
||||
mFrameRate = element.attribute( QStringLiteral( "frameRate" ), "1" ).toDouble();
|
||||
mCumulativeTemporalRange = element.attribute( QStringLiteral( "cumulativeTemporalRange" ), "0" ).toInt() == 1 ? true : false;
|
||||
mCumulativeTemporalRange = element.attribute( QStringLiteral( "cumulativeTemporalRange" ), "0" ).toInt();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user