]> git.sesse.net Git - kdenlive/commitdiff
Fix compilation against KDE 4.1.x
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 2 Jun 2009 21:11:45 +0000 (21:11 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 2 Jun 2009 21:11:45 +0000 (21:11 +0000)
svn path=/trunk/kdenlive/; revision=3483

src/dvdwizardmenu.cpp

index 8b940658a337d71dc13d935e2fb401cddf90c7ce..ad921c157db1405431229d187bbe9d23c5f60c29 100644 (file)
@@ -519,10 +519,10 @@ QDomElement DvdWizardMenu::toXml() const
         xml.setAttribute("background_color", m_view.background_color->color().name());
     } else if (m_view.background_list->currentIndex() == 1) {
         // Image bg
-        xml.setAttribute("background_image", m_view.background_image->text());
+        xml.setAttribute("background_image", m_view.background_image->url().path());
     } else {
         // Video bg
-        xml.setAttribute("background_video", m_view.background_image->text());
+        xml.setAttribute("background_video", m_view.background_image->url().path());
     }
     xml.setAttribute("text_color", m_view.text_color->color().name());
     xml.setAttribute("selected_color", m_view.selected_color->color().name());