Skip to content
Permalink
Browse files

Adapt composerhtml test to new multiframe resize modes

  • Loading branch information
mhugent committed Aug 19, 2012
1 parent 0980056 commit fcb39bc6031152e0aa5d8022c9ff4146a34e49d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgscomposerhtml.cpp
@@ -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" ) ) );

0 comments on commit fcb39bc

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