Skip to content

Commit

Permalink
Fix use of deprecated constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 25, 2020
1 parent 81b21ba commit 2c97e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/app/testqgsattributetable.cpp
Expand Up @@ -244,7 +244,7 @@ void TestQgsAttributeTable::testVisibleTemporal()
mQgisApp->mapCanvas()->resize( 500, 500 );
mQgisApp->mapCanvas()->setLayers( QList< QgsMapLayer *>() << tempLayer.get() );
mQgisApp->mapCanvas()->setExtent( QgsRectangle( -1, -1, 1, 1 ) );
mQgisApp->mapCanvas()->setTemporalRange( QgsDateTimeRange( QDateTime( QDate( 2020, 1, 1 ) ), QDateTime( QDate( 2020, 2, 1 ) ) ) );
mQgisApp->mapCanvas()->setTemporalRange( QgsDateTimeRange( QDateTime( QDate( 2020, 1, 1 ), QTime( 0, 0, 0 ) ), QDateTime( QDate( 2020, 2, 1 ), QTime( 0, 0, 0 ) ) ) );

std::unique_ptr< QgsAttributeTableDialog > dlg( new QgsAttributeTableDialog( tempLayer.get(), QgsAttributeTableFilterModel::ShowVisible ) );

Expand Down

0 comments on commit 2c97e86

Please sign in to comment.