X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmarkerdialog.cpp;h=1eb48042acb6d621f2ec2de653b21c9f8f4c9218;hb=c24658bd34221d735f0641c924b890e1a6be7101;hp=fd1abcefd35a32388a3a53c43f04c84d9fca9834;hpb=5bcb9b7ead3d053cb2b0498d84a2622626bf7f14;p=kdenlive diff --git a/src/markerdialog.cpp b/src/markerdialog.cpp index fd1abcef..1eb48042 100644 --- a/src/markerdialog.cpp +++ b/src/markerdialog.cpp @@ -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;