Another attempt to fix DVD Wizard freeze

CCBUG: 352057
parent 9a006b87
...@@ -149,7 +149,6 @@ void DvdWizardChapters::createMonitor(DVDFORMAT format) ...@@ -149,7 +149,6 @@ void DvdWizardChapters::createMonitor(DVDFORMAT format)
m_monitor->setSizePolicy(QSizePolicy ( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); m_monitor->setSizePolicy(QSizePolicy ( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));
m_manager->appendMonitor(m_monitor); m_manager->appendMonitor(m_monitor);
} }
else m_monitor->reparent();
} }
void DvdWizardChapters::setVobFiles(DVDFORMAT format, const QStringList &movies, const QStringList &durations, const QStringList &chapters) void DvdWizardChapters::setVobFiles(DVDFORMAT format, const QStringList &movies, const QStringList &durations, const QStringList &chapters)
...@@ -173,7 +172,7 @@ void DvdWizardChapters::setVobFiles(DVDFORMAT format, const QStringList &movies, ...@@ -173,7 +172,7 @@ void DvdWizardChapters::setVobFiles(DVDFORMAT format, const QStringList &movies,
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
adjustSize(); adjustSize();
updateGeometry(); updateGeometry();
QTimer::singleShot(0, this, SLOT(slotUpdateChaptersList())); slotUpdateChaptersList();
} }
QMap <QString, QString> DvdWizardChapters::chaptersData() const QMap <QString, QString> DvdWizardChapters::chaptersData() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment