]> git.sesse.net Git - kdenlive/blobdiff - src/markerdialog.cpp
Cleaning code style of Definitions.
[kdenlive] / src / markerdialog.cpp
index fd1abcefd35a32388a3a53c43f04c84d9fca9834..1eb48042acb6d621f2ec2de653b21c9f8f4c9218 100644 (file)
@@ -72,18 +72,18 @@ MarkerDialog::MarkerDialog(DocClipBase *clip, const CommentedTime &t, const Time
         int swidth = (int) (Kdenlive::DefaultThumbHeight * m_profile->width() / m_profile->height() + 0.5);
 
         switch (m_clip->clipType()) {
-        case VIDEO:
+        case Video:
         case AV:
-        case SLIDESHOW:
-        case PLAYLIST:
+        case SlideShow:
+        case Playlist:
             connect(this, SIGNAL(updateThumb()), m_previewTimer, SLOT(start()));
             break;
-        case IMAGE:
-        case TEXT:
+        case Image:
+        case Text:
             m_image = KThumb::getFrame(m_producer, m_in->getValue(), swidth, width, Kdenlive::DefaultThumbHeight);
             p = QPixmap::fromImage(m_image);
             break;
-        case COLOR:
+        case Color:
             colour = colour.replace(0, 2, "#");
             p.fill(QColor(colour.left(7)));
             break;