From a2fe18cc330efc6f4f586ec88e6e5a7bd6e21eb0 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Sun, 18 Oct 2009 11:09:54 +0000 Subject: [PATCH] Fix dvd wizard crash: http://kdenlive.org/mantis/view.php?id=1217 svn path=/trunk/kdenlive/; revision=4043 --- src/dvdwizardchapters.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.39.2