]> git.sesse.net Git - kdenlive/blobdiff - src/dvdwizardchapters.cpp
reindent
[kdenlive] / src / dvdwizardchapters.cpp
index cf57dd103a1e02d550aa717ecfa1a33d1d0533b8..61e984ba518bd71e882e54360f82516932e72789 100644 (file)
@@ -37,7 +37,7 @@ DvdWizardChapters::DvdWizardChapters(bool isPal, QWidget *parent) :
     // Build monitor for chapters
 
     if (m_isPal) m_tc.setFormat(25);
-    else m_tc.setFormat(30, true);
+    else m_tc.setFormat(30000.0 / 1001, true);
 
     m_manager = new MonitorManager(this);
     m_manager->resetProfiles(m_tc);
@@ -78,7 +78,7 @@ void DvdWizardChapters::slotUpdateChaptersList()
     m_view.chapters_list->clear();
     m_view.chapters_list->addItems(chaptersString);
 
-    bool modified = m_view.vob_list->itemData(m_view.vob_list->currentIndex(), Qt::UserRole + 2).toInt();
+    //bool modified = m_view.vob_list->itemData(m_view.vob_list->currentIndex(), Qt::UserRole + 2).toInt();
 }
 
 void DvdWizardChapters::slotAddChapter()
@@ -136,7 +136,7 @@ void DvdWizardChapters::setVobFiles(bool isPal, const QStringList movies, const
 {
     m_isPal = isPal;
     if (m_isPal) m_tc.setFormat(25);
-    else m_tc.setFormat(30, true);
+    else m_tc.setFormat(30000.0 / 1001, true);
     m_manager->resetProfiles(m_tc);
     m_monitor->resetProfile();