Skip to content

Commit

Permalink
Don't always try to calculate temporal extents for all layer types --…
Browse files Browse the repository at this point in the history
… it's too expensive
  • Loading branch information
nyalldawson committed Mar 26, 2021
1 parent f0fb5c8 commit f98ab57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsmaplayertemporalproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ QgsDateTimeRange QgsMapLayerTemporalProperties::calculateTemporalExtent( QgsMapL
return QgsDateTimeRange();
}

QList<QgsDateTimeRange> QgsMapLayerTemporalProperties::allTemporalRanges( QgsMapLayer *layer ) const
QList<QgsDateTimeRange> QgsMapLayerTemporalProperties::allTemporalRanges( QgsMapLayer * ) const
{
return { calculateTemporalExtent( layer ) };
return {};
}

0 comments on commit f98ab57

Please sign in to comment.