Skip to content
Permalink
Browse files
No QStringLiteral()
  • Loading branch information
nyalldawson committed Nov 3, 2021
1 parent 2cef097 commit 6218e9ffd1021bf07c5e2387e0412eb7561fe904
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 6218e9f

Please sign in to comment.