]> git.sesse.net Git - kdenlive/commitdiff
Check for xine in config wizard:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 26 Dec 2010 12:01:04 +0000 (12:01 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 26 Dec 2010 12:01:04 +0000 (12:01 +0000)
http://www.kdenlive.org/mantis/view.php?id=1133

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

src/wizard.cpp

index e491d1d380557d94734c5defcc955c7e38e974db..ed2ce32cdb797a299ae6fac53435117f06f4a00f 100644 (file)
@@ -414,7 +414,13 @@ void Wizard::slotCheckPrograms()
             item->setIcon(0, m_okIcon);
         } else item->setIcon(0, m_badIcon);
     } else item->setIcon(0, m_okIcon);
-
+    
+    item = new QTreeWidgetItem(m_check.programList, QStringList() << QString() << i18n("xine"));
+    item->setData(1, Qt::UserRole, i18n("Required to preview your DVD"));
+    item->setSizeHint(0, itemSize);
+    if (KStandardDirs::findExe("xine").isEmpty()) item->setIcon(0, m_badIcon);
+    else item->setIcon(0, m_okIcon); 
+    
     // set up some default applications
     QString program;
     if (KdenliveSettings::defaultimageapp().isEmpty()) {