From 88fdb10b69fb5f4aeaaf0feda772fdcd48fe8820 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Mon, 29 Jun 2009 09:22:41 +0000 Subject: [PATCH] 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 --- src/renderwidget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderwidget.cpp b/src/renderwidget.cpp index 5906ea68..0ed97513 100644 --- a/src/renderwidget.cpp +++ b/src/renderwidget.cpp @@ -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"); -- 2.39.2