Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Fix mouse seek from monitor

parent 0066b01c
......@@ -589,7 +589,7 @@ void GLWidget::wheelEvent(QWheelEvent *event)
emit mouseSeek(event->delta(), (int)event->modifiers());
emit mouseSeek(event->delta(), (uint)event->modifiers());
......@@ -158,7 +158,7 @@ signals:
void offsetChanged();
void monitorPlay();
void switchFullScreen(bool minimizeOnly = false);
void mouseSeek(int eventDelta, int modifiers);
void mouseSeek(int eventDelta, uint modifiers);
void startDrag();
void analyseFrame(const QImage &);
void audioSamplesSignal(const audioShortVector &, int, int, int);
......@@ -187,7 +187,7 @@ Monitor::Monitor(Kdenlive::MonitorId id, MonitorManager *manager, QWidget *paren
connect(m_horizontalScroll, &QAbstractSlider::valueChanged, this, &Monitor::setOffsetX);
connect(m_verticalScroll, &QAbstractSlider::valueChanged, this, &Monitor::setOffsetY);
connect(m_glMonitor, &GLWidget::frameDisplayed, this, &Monitor::onFrameDisplayed);
connect(m_glMonitor, SIGNAL(mouseSeek(int, int)), this, SLOT(slotMouseSeek(int, uint)));
connect(m_glMonitor, &GLWidget::mouseSeek, this, &Monitor::slotMouseSeek);
connect(m_glMonitor, SIGNAL(monitorPlay()), this, SLOT(slotPlay()));
connect(m_glMonitor, &GLWidget::startDrag, this, &Monitor::slotStartDrag);
connect(m_glMonitor, SIGNAL(switchFullScreen(bool)), this, SLOT(slotSwitchFullScreen(bool)));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment