We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d429f19 commit 5cc5ffcCopy full SHA for 5cc5ffc
tests/src/core/testqgscomposerpicture.cpp
@@ -359,8 +359,7 @@ void TestQgsComposerPicture::pictureExpression()
359
//test picture source via expression
360
mComposition->addComposerPicture( mComposerPicture );
361
362
- QString expr = QString( "'" ) + QString( TEST_DATA_DIR ) + QDir::separator()
363
- + QString( "' || 'sample_svg.svg'" );
+ QString expr = QString( "'%1' || '/sample_svg.svg'" ).arg( TEST_DATA_DIR );
364
mComposerPicture->setPictureExpression( expr );
365
mComposerPicture->setUsePictureExpression( true );
366
0 commit comments