Skip to content

Commit

Permalink
Adapt composerhtml test to new multiframe resize modes
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Aug 19, 2012
1 parent 0980056 commit fcb39bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgscomposerhtml.cpp
Expand Up @@ -76,7 +76,7 @@ void TestQgsComposerHtml::tableMultiFrame()
QgsComposerHtml* htmlItem = new QgsComposerHtml( mComposition, false );
QgsComposerFrame* htmlFrame = new QgsComposerFrame( mComposition, htmlItem, 10, 10, 100, 50 );
htmlItem->addFrame( htmlFrame );
htmlItem->setResizeMode( QgsComposerMultiFrame::ExtendToNextPage );
htmlItem->setResizeMode( QgsComposerMultiFrame::RepeatUntilFinished );
bool result = true;
//page1
htmlItem->setUrl( QUrl( QString( "file:///%1" ).arg( QString( TEST_DATA_DIR ) + QDir::separator() + "html_table.html" ) ) );
Expand Down

0 comments on commit fcb39bc

Please sign in to comment.