Skip to content
Permalink
Browse files

Fix deprecation warnings for gui

  • Loading branch information
pblottiere authored and nyalldawson committed Jan 29, 2020
1 parent 22a2d45 commit f23478f88f361926714494ef4d1f7dc63e36ae46
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/gui/attributetable/qgsattributetablemodel.cpp
  2. +1 −1 src/gui/qgsmaptip.cpp
@@ -456,7 +456,7 @@ void QgsAttributeTableModel::loadLayer()

int i = 0;

QTime t;
QElapsedTimer t;
t.start();

while ( features.nextFeature( mFeat ) )
@@ -214,7 +214,7 @@ QString QgsMapTip::fetchFeature( QgsMapLayer *layer, QgsPointXY &mapPosition, Qg
request.setSubsetOfAttributes( exp.referencedColumns(), vlayer->fields() );
}
QgsFeatureIterator it = vlayer->getFeatures( request );
QTime timer;
QElapsedTimer timer;
timer.start();
while ( it.nextFeature( feature ) )
{

0 comments on commit f23478f

Please sign in to comment.
You can’t perform that action at this time.