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
3c59d785
Commit
3c59d785
authored
Apr 22, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix potential deadlock, maybe related to
#1380
parent
a61a8f94
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bin/projectclip.cpp
View file @
3c59d785
...
...
@@ -1156,11 +1156,14 @@ QPoint ProjectClip::zone() const
const
QString
ProjectClip
::
hash
(
bool
createIfEmpty
)
{
if
(
m_clipStatus
==
FileStatus
::
StatusWaiting
)
{
return
QString
();
}
QString
clipHash
=
getProducerProperty
(
QStringLiteral
(
"kdenlive:file_hash"
));
if
(
!
clipHash
.
isEmpty
())
{
if
(
!
clipHash
.
isEmpty
()
||
createIfEmpty
)
{
return
clipHash
;
}
return
createIfEmpty
?
getFileHash
()
:
QString
();
return
getFileHash
();
}
const
QByteArray
ProjectClip
::
getFolderHash
(
const
QDir
&
dir
,
QString
fileName
)
...
...
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