Skip to content

Commit 26704a4

Browse files
committed
Fix trusty build (QStringLiteral is Qt5; followup b625451)
1 parent f464aeb commit 26704a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/app/testqgisappclipboard.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ void TestQgisAppClipboard::pasteWkt()
218218

219219
// be sure parsing does not consider attached parameters that
220220
// can change geometryType as in https://issues.qgis.org/issues/16870
221-
mQgisApp->clipboard()->setText( QStringLiteral( "POINT (111 30)\t GoodFieldValue\nPOINT (125 10)\t(WrongFieldValue)" ) );
221+
mQgisApp->clipboard()->setText( "POINT (111 30)\t GoodFieldValue\nPOINT (125 10)\t(WrongFieldValue)" );
222222

223223
features = mQgisApp->clipboard()->copyOf();
224224
QCOMPARE( features.length(), 2 );
@@ -237,7 +237,7 @@ void TestQgisAppClipboard::pasteWkt()
237237
QCOMPARE( point->y(), 10.0 );
238238

239239
// only fields => no geom so no feature list is returned
240-
mQgisApp->clipboard()->setText( QStringLiteral( "MNL\t11\t282\tkm\t\nMNL\t11\t347.80000000000001\tkm\t" ) );
240+
mQgisApp->clipboard()->setText( "MNL\t11\t282\tkm\t\nMNL\t11\t347.80000000000001\tkm\t" );
241241
features = mQgisApp->clipboard()->copyOf();
242242
QCOMPARE( features.length(), 0 );
243243
}

0 commit comments

Comments
 (0)