Skip to content
GitLab
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
0bae6322
Commit
0bae6322
authored
Aug 09, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix incorrect profile comparison
parent
13eae443
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/doc/kdenlivedoc.cpp
View file @
0bae6322
...
...
@@ -787,7 +787,7 @@ void KdenliveDoc::slotMoveFinished(KJob *job)
bool
KdenliveDoc
::
profileChanged
(
const
QString
&
profile
)
const
{
return
pCore
->
getCurrentProfile
()
!
=
ProfileRepository
::
get
()
->
getProfile
(
profile
);
return
!
(
*
pCore
->
getCurrentProfile
()
.
get
()
=
=
*
ProfileRepository
::
get
()
->
getProfile
(
profile
)
.
get
())
;
}
Render
*
KdenliveDoc
::
renderer
()
...
...
src/jobs/cliploadtask.cpp
View file @
0bae6322
...
...
@@ -740,7 +740,6 @@ void ClipLoadTask::abort()
}
Fun
undo
=
[]()
{
return
true
;
};
Fun
redo
=
[]()
{
return
true
;
};
QString
resource
=
Xml
::
getXmlProperty
(
m_xml
,
QStringLiteral
(
"resource"
));
if
(
!
m_softDelete
)
{
auto
binClip
=
pCore
->
projectItemModel
()
->
getClipByBinID
(
QString
::
number
(
m_owner
.
second
));
if
(
binClip
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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