Skip to content

Commit

Permalink
Fix some test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 5, 2018
1 parent 75bb5c4 commit e23167e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/core/testqgsvectorlayerutils.cpp
Expand Up @@ -79,7 +79,7 @@ class FeatureFetcher : public QThread
void resultReady( const QVariant &attribute );

private:
QPoinst<QgsVectorLayer> mLayer;
QPointer<QgsVectorLayer> mLayer;
};


Expand All @@ -97,7 +97,7 @@ void TestQgsVectorLayerUtils::testGetFeatureSource()
QgsVectorLayerUtils::getFeatureSource( vlPtr ).get()->getFeatures().nextFeature( feat );
QCOMPARE( feat.attribute( QStringLiteral( "col1" ) ).toInt(), 10 );

FeatureFetcher *thread = new FeatureFetcher();
FeatureFetcher *thread = new FeatureFetcher( vlPtr );

bool finished = false;
QVariant result;
Expand Down

0 comments on commit e23167e

Please sign in to comment.