Skip to content

Commit

Permalink
Fix deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 19, 2016
1 parent 1602c02 commit c0799d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/gui/testqgsmapcanvas.cpp
Expand Up @@ -301,7 +301,7 @@ void TestQgsMapCanvas::testMagnificationExtent()
QgsFeature f2( layer->dataProvider()->fields(), 2 );
QgsFeatureIds ids;
ids << f1.id() << f2.id();
layer->setSelectedFeatures( ids );
layer->selectByIds( ids );

mCanvas->zoomToSelected( layer );
initialExtent = mCanvas->extent();
Expand Down

0 comments on commit c0799d4

Please sign in to comment.