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

Remove confusing "autorotate" checkbox in transcode to edit friendly

Related to #1365
parent d901abe7
Pipeline #158714 passed with stage
in 8 minutes and 56 seconds
......@@ -251,11 +251,6 @@
<default>Lossy x264 I frame only</default>
</entry>
<entry name="transcodeFriendlyRotate" type="Bool">
<label>If true, autorotate is disabled on transcoding.</label>
<default>false</default>
</entry>
<entry name="previewextension" type="String">
<label>File extension for timeline preview.</label>
<default></default>
......
......@@ -49,7 +49,6 @@ TranscodeSeek::TranscodeSeek(QWidget *parent)
} else {
buttonBox->button(QDialogButtonBox::Ok)->setText(i18n("Transcode"));
}
autorotate->setChecked(KdenliveSettings::transcodeFriendlyRotate());
messagewidget->setVisible(false);
}
......@@ -180,6 +179,5 @@ QString TranscodeSeek::params(int clipType) const
QString TranscodeSeek::preParams() const
{
KdenliveSettings::setTranscodeFriendlyRotate(autorotate->isChecked());
return autorotate->isChecked() ? QStringLiteral("-noautorotate") : QString();
return QStringLiteral("-noautorotate");
}
......@@ -6,21 +6,14 @@
<rect>
<x>0</x>
<y>0</y>
<width>416</width>
<height>269</height>
<width>460</width>
<height>366</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0" colspan="2">
<widget class="QListWidget" name="listWidget">
<property name="alternatingRowColors">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
......@@ -38,20 +31,17 @@
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="label">
<property name="text">
<string>The following clips are not usable for editing. This will transcode them in an edit friendly format and replace the original ones in your project.</string>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
</property>
<item row="2" column="0" colspan="2">
<widget class="KMessageWidget" name="messagewidget">
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="closeButtonVisible">
<bool>false</bool>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<item row="4" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
......@@ -61,20 +51,23 @@
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="autorotate">
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="label">
<property name="text">
<string>Disable autorotate</string>
<string>The following clips are not usable for editing. This will transcode them in an edit friendly format and replace the original ones in your project.</string>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="KMessageWidget" name="messagewidget">
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="closeButtonVisible">
<bool>false</bool>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QListWidget" name="listWidget">
<property name="alternatingRowColors">
<bool>true</bool>
</property>
</widget>
</item>
......
Markdown is supported
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