X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fwizard.cpp;h=146a94ab01fe347f5735c5b350b3a6d69c30a2a1;hb=0ae9f07b0172db7341c39da60cfa0f4c406e28d0;hp=0d396c1bc68bdd240bdd28fa428f939e6fc09cc2;hpb=fec4b6aba639dac658d35475512c6f232c8aebe3;p=kdenlive diff --git a/src/wizard.cpp b/src/wizard.cpp index 0d396c1b..146a94ab 100644 --- a/src/wizard.cpp +++ b/src/wizard.cpp @@ -35,7 +35,7 @@ #include #include -const double recommendedMltVersion = 45; +const double recommendedMltVersion = 46; static const char version[] = VERSION; Wizard::Wizard(bool upgrade, QWidget *parent) : @@ -299,6 +299,18 @@ void Wizard::checkMltComponents() } else { imageItem->setIcon(0, m_okIcon); } + + // Check MLT title module + QTreeWidgetItem *titleItem = new QTreeWidgetItem(m_mltCheck.programList, QStringList() << QString() << i18n("Title module")); + titleItem->setData(1, Qt::UserRole, i18n("Required to work with titles")); + titleItem->setSizeHint(0, itemSize); + if (!result.contains("- kdenlivetitle")) { + KdenliveSettings::setHastitleproducer(false); + titleItem->setIcon(0, m_badIcon); + } else { + titleItem->setIcon(0, m_okIcon); + KdenliveSettings::setHastitleproducer(true); + } } }