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
f7137493
Commit
f7137493
authored
Aug 09, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix regression in project notes from clip monitor(incorrect clazy fix)
parent
44ce7aea
Pipeline
#30204
passed with stage
in 26 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/project/notesplugin.cpp
View file @
f7137493
...
...
@@ -76,11 +76,11 @@ void NotesPlugin::slotInsertTimecode()
return
;
}
QString
clipName
=
pCore
->
bin
()
->
getBinClipName
(
binId
);
m_widget
->
insertHtml
(
QString
(
"<a href=
\"
%1#%2
\"
>%3:%4</a> "
).
arg
(
binId
,
frames
).
arg
(
clipName
,
position
));
m_widget
->
insertHtml
(
QString
(
"<a href=
\"
%1#%2
\"
>%3:%4</a> "
).
arg
(
binId
,
QString
::
number
(
frames
)
)
.
arg
(
clipName
,
position
));
}
else
{
int
frames
=
pCore
->
monitorManager
()
->
projectMonitor
()
->
position
();
QString
position
=
pCore
->
timecode
().
getTimecodeFromFrames
(
frames
);
m_widget
->
insertHtml
(
QString
(
"<a href=
\"
%1
\"
>%2</a> "
).
arg
(
frames
)
.
arg
(
position
));
m_widget
->
insertHtml
(
QString
(
"<a href=
\"
%1
\"
>%2</a> "
).
arg
(
QString
::
number
(
frames
)
,
position
));
}
}
...
...
Write
Preview
Markdown
is supported
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