Don't use translatable string for comparison in render widget:

http://www.kdenlive.org/mantis/view.php?id=969

svn path=/trunk/kdenlive/; revision=3689
parent 948999ad
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment