]> git.sesse.net Git - kdenlive/commitdiff
Fix broken transition after loading document, might be related to:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 29 Oct 2008 20:42:58 +0000 (20:42 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 29 Oct 2008 20:42:58 +0000 (20:42 +0000)
http://www.kdenlive.org:80/mantis/view.php?id=243

svn path=/branches/KDE4/; revision=2596

src/trackview.cpp

index 98dd939291c042f8eeb6d1b8e7d03f6e3660d38f..d202887388b5b14ba818e7df0cdd19fc0dcc24db 100644 (file)
@@ -195,7 +195,7 @@ void TrackView::parseDocument(QDomDocument doc) {
         if (transitionAdd) {
             // Transition should be added to the scene
             ItemInfo transitionInfo;
-            QDomElement base = MainWindow::transitions.getEffectByTag(mlt_service, QString());
+            QDomElement base = MainWindow::transitions.getEffectByTag(mlt_service, QString()).cloneNode().toElement();
 
             for (int k = 0; k < transitionparams.count(); k++) {
                 p = transitionparams.item(k).toElement();