Commit 0bae6322 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix incorrect profile comparison

parent 13eae443
......@@ -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()
......
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment