X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmarkerdialog.cpp;h=87e3f43ae03e00327eae103bf7138afdd43e4ce6;hb=ecda842bf2b632f75198d6cf0fac1fcb5ef862ad;hp=0ee5657f72685a0fb9d3e8f338798e75cda5832b;hpb=533e803489bc102d03f0ef6609200ba04ac81ad2;p=kdenlive diff --git a/src/markerdialog.cpp b/src/markerdialog.cpp index 0ee5657f..87e3f43a 100644 --- a/src/markerdialog.cpp +++ b/src/markerdialog.cpp @@ -70,7 +70,7 @@ MarkerDialog::MarkerDialog(DocClipBase *clip, CommentedTime t, Timecode tc, cons connect(this, SIGNAL(updateThumb()), m_previewTimer, SLOT(start())); case IMAGE: case TEXT: - p = QPixmap::fromImage(KThumb::getFrame(m_producer, m_in->value(), width, 100)); + p = QPixmap::fromImage(KThumb::getFrame(m_producer, m_in->getValue(), width, 100)); break; case COLOR: colour = colour.replace(0, 2, "#"); @@ -107,7 +107,7 @@ MarkerDialog::~MarkerDialog() void MarkerDialog::slotUpdateThumb() { m_previewTimer->stop(); - int pos = m_in->value(); + int pos = m_in->getValue(); int width = 100.0 * m_dar; if (width % 2 == 1) width++; QPixmap p = QPixmap::fromImage(KThumb::getFrame(m_producer, pos, width, 100));