summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <jb@kdenlive.org>2016-11-20 11:19:26 (GMT)
committerJean-Baptiste Mardelle <jb@kdenlive.org>2016-11-20 14:45:00 (GMT)
commit7481b6eae9df3872ad0cf3e4e72e0282936f7f61 (patch)
tree994092d1d48da40da53597fc9a24fa8697f4bb54
parent64027bb069ceab0bfc0d80f8cdf52e5b24783e0c (diff)
Fix error preventing setting an interlaced default project profile
CCBUG: 372588
-rw-r--r--src/project/dialogs/profilewidget.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/project/dialogs/profilewidget.cpp b/src/project/dialogs/profilewidget.cpp
index e1de3fd..05ae8c8 100644
--- a/src/project/dialogs/profilewidget.cpp
+++ b/src/project/dialogs/profilewidget.cpp
@@ -353,17 +353,7 @@ void ProfileWidget::checkInterlace(QList <MltVideoProfile> currentStd, const QSt
allowInterlaced = true;
}
m_interlaced->setChecked(!m_currentProfile.progressive);
- if (allowInterlaced && allowProgressive) {
- m_interlaced->setEnabled(true);
- m_interlaced->setChecked(false);
- } else {
- m_interlaced->setEnabled(false);
- if (m_interlaced->isChecked() && !allowInterlaced) {
- m_interlaced->setChecked(false);
- } else if (!m_interlaced->isChecked() && !allowProgressive) {
- m_interlaced->setChecked(true);
- }
- }
+ m_interlaced->setEnabled(allowInterlaced && allowProgressive);
}
ProfileWidget::VIDEOSTD ProfileWidget::getStandard(MltVideoProfile profile)