Permalink
Browse files

Fix crash when opening a kdenlive document with titles

	modified:   src/modules/qimage/kdenlivetitle_wrapper.cpp
  • Loading branch information...
1 parent 9f9e51f commit 129ef4084bb436eb758e13cd1a94447723b214cb @j-b-m committed Dec 21, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/modules/qimage/kdenlivetitle_wrapper.cpp
@@ -380,6 +380,7 @@ void drawKdenliveTitle( producer_ktitle self, mlt_frame frame, int width, int he
}
}
scene = new QGraphicsScene();
+ scene->setItemIndexMethod( QGraphicsScene::NoIndex );
scene->setSceneRect(0, 0, mlt_properties_get_int( properties, "width" ), mlt_properties_get_int( properties, "height" ));
loadFromXml( producer, scene, mlt_properties_get( producer_props, "xmldata" ), mlt_properties_get( producer_props, "templatetext" ) );
mlt_properties_set_data( producer_props, "qscene", scene, 0, ( mlt_destructor )qscene_delete, NULL );

0 comments on commit 129ef40

Please sign in to comment.