Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
7c45467a
Commit
7c45467a
authored
Jan 24, 2021
by
Jean-Baptiste Mardelle
Browse files
fix frame timecode not updated in monitor overlay
parent
4892a85e
Pipeline
#48487
passed with stage
in 11 minutes and 19 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/monitor.cpp
View file @
7c45467a
...
...
@@ -444,7 +444,6 @@ Monitor::Monitor(Kdenlive::MonitorId id, MonitorManager *manager, QWidget *paren
m_toolbar
->
addAction
(
m_sceneVisibilityAction
);
m_toolbar
->
addSeparator
();
connect
(
m_timePos
,
&
TimecodeDisplay
::
timeCodeUpdated
,
m_glMonitor
->
getControllerProxy
(),
&
MonitorProxy
::
timecodeChanged
);
m_toolbar
->
addWidget
(
m_timePos
);
auto
*
configButton
=
new
QToolButton
(
m_toolbar
);
...
...
src/monitor/monitorproxy.cpp
View file @
7c45467a
...
...
@@ -387,6 +387,7 @@ const QString MonitorProxy::timecode() const
void
MonitorProxy
::
setTimeCode
(
TimecodeDisplay
*
td
)
{
m_td
=
td
;
connect
(
m_td
,
&
TimecodeDisplay
::
timeCodeUpdated
,
this
,
&
MonitorProxy
::
timecodeChanged
);
}
void
MonitorProxy
::
setWidgetKeyBinding
(
const
QString
&
text
)
const
...
...
src/timecodedisplay.cpp
View file @
7c45467a
...
...
@@ -220,8 +220,8 @@ void TimecodeDisplay::setValue(int value)
}
m_value
=
value
;
lineEdit
()
->
setText
(
m_timecode
.
getTimecodeFromFrames
(
m_offset
+
value
-
m_minimum
));
emit
timeCodeUpdated
();
}
emit
timeCodeUpdated
();
}
void
TimecodeDisplay
::
setValue
(
const
GenTime
&
value
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment