Skip to content

Commit

Permalink
No QStringLiteral()
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 4, 2021
1 parent f6a6d79 commit fa022aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgsvectorlayer.cpp
Expand Up @@ -404,7 +404,7 @@ void TestQgsVectorLayer::testAddTopologicalPoints()

delete layerPoint;

QgsVectorLayer *layerInvalid = new QgsVectorLayer( QStringLiteral(), QStringLiteral( "layer invalid" ), QStringLiteral( "none" ) );
QgsVectorLayer *layerInvalid = new QgsVectorLayer( QString(), QStringLiteral( "layer invalid" ), QStringLiteral( "none" ) );
QVERIFY( !layerInvalid->isValid() );

result = layerInvalid->addTopologicalPoints( QgsPoint( 2, 2 ) );
Expand Down

0 comments on commit fa022aa

Please sign in to comment.