Skip to content
Permalink
Browse files

Fix some test issues

  • Loading branch information
m-kuhn committed Sep 5, 2018
1 parent 75bb5c4 commit e23167ee3ddf1380465895283494f7b0c151b081
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/core/testqgsvectorlayerutils.cpp
@@ -79,7 +79,7 @@ class FeatureFetcher : public QThread
void resultReady( const QVariant &attribute );

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


@@ -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;

0 comments on commit e23167e

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