Skip to content

Commit

Permalink
fix composer picture test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 1, 2015
1 parent d429f19 commit 5cc5ffc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/src/core/testqgscomposerpicture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit 5cc5ffc

Please sign in to comment.