Skip to content

Commit

Permalink
No QStringLiteral()
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 3, 2021
1 parent 2cef097 commit 6218e9f
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 6218e9f

Please sign in to comment.