Skip to content

Commit

Permalink
Fix trusty build (QStringLiteral is Qt5; followup b625451)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Aug 18, 2017
1 parent f464aeb commit 26704a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/app/testqgisappclipboard.cpp
Expand Up @@ -218,7 +218,7 @@ void TestQgisAppClipboard::pasteWkt()

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

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

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

0 comments on commit 26704a4

Please sign in to comment.