]> git.sesse.net Git - kdenlive/commitdiff
Don't use translatable string for comparison in render widget:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 29 Jun 2009 09:22:41 +0000 (09:22 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 29 Jun 2009 09:22:41 +0000 (09:22 +0000)
http://www.kdenlive.org/mantis/view.php?id=969

svn path=/trunk/kdenlive/; revision=3689

src/renderwidget.cpp

index 5906ea68c65cc81eaa058fef38dff8724148510d..0ed975131ce94187f73876a61877fe0d2f44e422 100644 (file)
@@ -1237,7 +1237,8 @@ void RenderWidget::parseFile(QString exportFile, bool editable)
         if (!gname.isNull()) {
             metagroupName = gname.firstChild().nodeValue();
             metagroupId = gname.toElement().attribute("id");
-            if (!metagroupName.isEmpty() && !m_view.destination_list->contains(metagroupName)) {
+
+            if (!metagroupName.isEmpty() && m_view.destination_list->findData(metagroupId) == -1) {
                 if (metagroupId == "dvd") icon = KIcon("media-optical");
                 else if (metagroupId == "audioonly") icon = KIcon("audio-x-generic");
                 else if (metagroupId == "websites") icon = KIcon("applications-internet");