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
ee18a752
Commit
ee18a752
authored
Jan 01, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix possible crash dragging clip in timeline from a file manager
Related to
#900
parent
c07a55f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/timelinecontroller.cpp
View file @
ee18a752
...
...
@@ -3582,6 +3582,10 @@ void TimelineController::switchRecording(int trackId)
void
TimelineController
::
urlDropped
(
QStringList
droppedFile
,
int
frame
,
int
tid
)
{
if
(
droppedFile
.
isEmpty
())
{
// Empty url passed, abort
return
;
}
m_recordTrack
=
tid
;
m_recordStart
=
{
frame
,
-
1
};
qDebug
()
<<
"=== GOT DROPPED FILED: "
<<
droppedFile
<<
"
\n
======"
;
...
...
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