]> git.sesse.net Git - kdenlive/blobdiff - src/clipproperties.cpp
Updated Dvd wizard
[kdenlive] / src / clipproperties.cpp
index 4f5b22425ca2c72bb3104502d262ecd531b3ca02..a79524337d9d9178b6d4a3bb97645c25c4cd2a09 100644 (file)
@@ -45,11 +45,11 @@ static const int TYPE_GIF = 3;
 
 ClipProperties::ClipProperties(DocClipBase *clip, Timecode tc, double fps, QWidget * parent) :
         QDialog(parent),
-        m_tc(tc),
         m_clip(clip),
+        m_tc(tc),
         m_fps(fps),
-        m_clipNeedsRefresh(false),
-        m_count(0)
+        m_count(0),
+        m_clipNeedsRefresh(false)
 {
     setFont(KGlobalSettings::toolBarFont());
     m_view.setupUi(this);
@@ -184,8 +184,8 @@ ClipProperties::ClipProperties(DocClipBase *clip, Timecode tc, double fps, QWidg
             m_view.luma_file->addItem(KIcon(folder + '/' + fname), fname, folder + '/' + fname);
         }
 
-        slotEnableLuma(m_view.slide_fade->isChecked());
-        slotEnableLumaFile(m_view.slide_luma->isChecked());
+        slotEnableLuma(m_view.slide_fade->checkState());
+        slotEnableLumaFile(m_view.slide_luma->checkState());
 
         if (!lumaFile.isEmpty()) {
             m_view.slide_luma->setChecked(true);
@@ -268,7 +268,7 @@ void ClipProperties::slotFillMarkersList()
 {
     m_view.markers_list->clear();
     QList < CommentedTime > marks = m_clip->commentedSnapMarkers();
-    for (uint count = 0; count < marks.count(); ++count) {
+    for (int count = 0; count < marks.count(); ++count) {
         QString time = m_tc.getTimecode(marks[count].time(), m_tc.fps());
         QStringList itemtext;
         itemtext << time << marks[count].comment();