Skip to content
Permalink
Browse files

fix composer picture test on windows

  • Loading branch information
jef-n committed Jul 1, 2015
1 parent d429f19 commit 5cc5ffc50a0f8a57bf80e628205c6dd9937d6e63
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/src/core/testqgscomposerpicture.cpp
@@ -359,8 +359,7 @@ void TestQgsComposerPicture::pictureExpression()
//test picture source via expression
mComposition->addComposerPicture( mComposerPicture );

QString expr = QString( "'" ) + QString( TEST_DATA_DIR ) + QDir::separator()
+ QString( "' || 'sample_svg.svg'" );
QString expr = QString( "'%1' || '/sample_svg.svg'" ).arg( TEST_DATA_DIR );
mComposerPicture->setPictureExpression( expr );
mComposerPicture->setUsePictureExpression( true );

0 comments on commit 5cc5ffc

Please sign in to comment.
You can’t perform that action at this time.