Skip to content
Permalink
Browse files
No QStringLiteral()
  • Loading branch information
nyalldawson authored and github-actions committed Nov 3, 2021
1 parent afebdaa commit 33d30a7229ce4b6c266c80462834f815908b0473
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 33d30a7

Please sign in to comment.