]> git.sesse.net Git - kdenlive/blobdiff - src/markerdialog.cpp
- fix guides width being smaller when just added
[kdenlive] / src / markerdialog.cpp
index 865f06cf2afe33b3308a4e587acd65dab79c7886..57e612eba6adbf4c24a3e2ecb96bc415b4ff01c7 100644 (file)
 #include <KDebug>
 
 
-MarkerDialog::MarkerDialog(DocClipBase *clip, CommentedTime t, Timecode tc, const QString &caption, QWidget * parent): QDialog(parent), m_tc(tc), m_clip(clip), m_marker(t), m_producer(NULL), m_profile(NULL)
+MarkerDialog::MarkerDialog(DocClipBase *clip, CommentedTime t, Timecode tc, const QString &caption, QWidget * parent) :
+        QDialog(parent),
+        m_producer(NULL),
+        m_profile(NULL),
+        m_clip(clip),
+        m_tc(tc)
 {
     setFont(KGlobalSettings::toolBarFont());
     m_fps = m_tc.fps();
@@ -91,8 +96,8 @@ MarkerDialog::MarkerDialog(DocClipBase *clip, CommentedTime t, Timecode tc, cons
 MarkerDialog::~MarkerDialog()
 {
     delete m_previewTimer;
-    if (m_producer) delete m_producer;
-    if (m_profile) delete m_profile;
+    delete m_producer;
+    delete m_profile;
 }
 
 void MarkerDialog::slotUpdateThumb()