X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fdvdwizardchapters.cpp;h=2b24852c60b9318bf1cd76554c8bf30d1167a73b;hb=a2fe18cc330efc6f4f586ec88e6e5a7bd6e21eb0;hp=61e5187e045d300e2b516cb7b6eb4413f6f95667;hpb=b0dc9ee0a5365915e45c956fe8b61a1732ac36ee;p=kdenlive diff --git a/src/dvdwizardchapters.cpp b/src/dvdwizardchapters.cpp index 61e5187e..2b24852c 100644 --- a/src/dvdwizardchapters.cpp +++ b/src/dvdwizardchapters.cpp @@ -147,9 +147,7 @@ void DvdWizardChapters::setVobFiles(bool isPal, bool isWide, const QStringList m } if (isWide) profile.append("_wide"); m_manager->resetProfiles(m_tc); - if (m_monitor == NULL) { - m_monitor = new Monitor("chapter", m_manager, profile, this); //m_monitor->start(); QVBoxLayout *vbox = new QVBoxLayout; @@ -159,11 +157,13 @@ void DvdWizardChapters::setVobFiles(bool isPal, bool isWide, const QStringList m adjustSize();*/ } else m_monitor->resetProfile(profile); + m_view.vob_list->blockSignals(true); m_view.vob_list->clear(); for (int i = 0; i < movies.count(); i++) { m_view.vob_list->addItem(movies.at(i), durations.at(i)); m_view.vob_list->setItemData(i, chapters.at(i).split(';'), Qt::UserRole + 1); } + m_view.vob_list->blockSignals(false); slotUpdateChaptersList(); }