Skip to content

Commit

Permalink
No QStringLiteral()
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Nov 3, 2021
1 parent afebdaa commit 33d30a7
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 33d30a7

Please sign in to comment.