Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Allow disabling autosave until we improve it

BUG: 384197
parent 64f526d1
......@@ -756,7 +756,7 @@ void KdenliveDoc::slotModified()
void KdenliveDoc::setModified(bool mod)
{
// fix mantis#3160: The document may have an empty URL if not saved yet, but should have a m_autosave in any case
if ((m_autosave != nullptr) && mod) {
if ((m_autosave != nullptr) && mod && KdenliveSettings::crashrecovery()) {
emit startAutoSave();
}
if (mod == m_modified) {
......
......@@ -27,7 +27,10 @@
<label>Open last project on startup.</label>
<default>false</default>
</entry>
<entry name="crashrecovery" type="Bool">
<label>Enable autosave.</label>
<default>true</default>
</entry>
<entry name="tabposition" type="Int">
<label>Select tab position in dockwidgets.</label>
<default>1</default>
......
......@@ -6,43 +6,12 @@
<rect>
<x>0</x>
<y>0</y>
<width>610</width>
<height>695</height>
<width>809</width>
<height>818</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="2" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_usekuiserver">
<property name="text">
<string>Use KDE job tracking for render jobs</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QComboBox" name="kcfg_tabposition">
<item>
<property name="text">
<string>Top</string>
</property>
</item>
<item>
<property name="text">
<string>Bottom</string>
</property>
</item>
<item>
<property name="text">
<string>Left</string>
</property>
</item>
<item>
<property name="text">
<string>Right</string>
</property>
</item>
</widget>
</item>
<item row="10" column="0" colspan="3">
<item row="11" column="0" colspan="3">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Default Durations</string>
......@@ -102,33 +71,20 @@
</widget>
</item>
<item row="8" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_use_magicLantern">
<widget class="QCheckBox" name="kcfg_use_exiftool">
<property name="text">
<string>Get clip metadata created by Magic Lantern</string>
<string>Get clip metadata with exiftool</string>
</property>
</widget>
</item>
<item row="9" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="12" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_autoimagetransparency">
<item row="5" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_disable_effect_parameters">
<property name="text">
<string>Transparent background for imported images</string>
<string>Disable parameters when the effect is disabled</string>
</property>
</widget>
</item>
<item row="13" column="1">
<item row="14" column="1">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
......@@ -141,66 +97,117 @@
</property>
</spacer>
</item>
<item row="11" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_autoimagesequence">
<item row="10" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Automatically import image sequences</string>
<string>Tab position</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="3">
<item row="0" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_openlastproject">
<property name="text">
<string>Open last project on startup</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_automultistreams">
<property name="text">
<string>Automatically import all streams in multi stream clips</string>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_4">
<item row="9" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_use_magicLantern">
<property name="text">
<string>Tab position</string>
<string>Get clip metadata created by Magic Lantern</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="3">
<item row="12" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_autoimagesequence">
<property name="text">
<string>Automatically import image sequences</string>
</property>
</widget>
</item>
<item row="7" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_bypasscodeccheck">
<property name="text">
<string>Bypass codec verification</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_projectloading_avformatnovalidate">
<item row="2" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_checkfirstprojectclip">
<property name="text">
<string>Do not validate the video files when loading a project (faster)</string>
<string>Check if first added clip matches project profile</string>
</property>
</widget>
</item>
<item row="7" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_use_exiftool">
<item row="3" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_usekuiserver">
<property name="text">
<string>Get clip metadata with exiftool</string>
<string>Use KDE job tracking for render jobs</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_openlastproject">
<item row="10" column="1">
<widget class="QComboBox" name="kcfg_tabposition">
<item>
<property name="text">
<string>Top</string>
</property>
</item>
<item>
<property name="text">
<string>Bottom</string>
</property>
</item>
<item>
<property name="text">
<string>Left</string>
</property>
</item>
<item>
<property name="text">
<string>Right</string>
</property>
</item>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_projectloading_avformatnovalidate">
<property name="text">
<string>Open last project on startup</string>
<string>Do not validate the video files when loading a project (faster)</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_disable_effect_parameters">
<item row="10" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="13" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_autoimagetransparency">
<property name="text">
<string>Disable parameters when the effect is disabled</string>
<string>Transparent background for imported images</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="3">
<widget class="QCheckBox" name="kcfg_checkfirstprojectclip">
<item row="1" column="0">
<widget class="QCheckBox" name="kcfg_crashrecovery">
<property name="text">
<string>Check if first added clip matches project profile</string>
<string>Activate crash recovery (auto save)</string>
</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