Skip to content
Permalink
Browse files
No QStringLiteral()
  • Loading branch information
nyalldawson committed Nov 4, 2021
1 parent f6a6d79 commit fa022aae8731f3cd9fb4bee6efce17ba4e1c6f0f
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgsvectorlayer.cpp
@@ -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 ) );

0 comments on commit fa022aa

Please sign in to comment.