@ -351,7 +351,7 @@ OptionsDialog::OptionsDialog(QWidget *parent)
@@ -351,7 +351,7 @@ OptionsDialog::OptionsDialog(QWidget *parent)
connect ( m_ui - > checkAdditionDialog , & QGroupBox : : toggled , this , & ThisType : : enableApplyButton ) ;
connect ( m_ui - > checkAdditionDialogFront , & QAbstractButton : : toggled , this , & ThisType : : enableApplyButton ) ;
connect ( m_ui - > checkStartPaused , & QAbstractButton : : toggled , this , & ThisType : : enableApplyButton ) ;
connect ( m_ui - > checkCreateSubf older , & QAbstractButton : : toggled , this , & ThisType : : enableApplyButton ) ;
connect ( m_ui - > checkKeepTopLevelF older , & QAbstractButton : : toggled , this , & ThisType : : enableApplyButton ) ;
connect ( m_ui - > deleteTorrentBox , & QGroupBox : : toggled , this , & ThisType : : enableApplyButton ) ;
connect ( m_ui - > deleteCancelledTorrentBox , & QAbstractButton : : toggled , this , & ThisType : : enableApplyButton ) ;
connect ( m_ui - > checkExportDir , & QAbstractButton : : toggled , this , & ThisType : : enableApplyButton ) ;
@ -733,7 +733,7 @@ void OptionsDialog::saveOptions()
@@ -733,7 +733,7 @@ void OptionsDialog::saveOptions()
AddNewTorrentDialog : : setEnabled ( useAdditionDialog ( ) ) ;
AddNewTorrentDialog : : setTopLevel ( m_ui - > checkAdditionDialogFront - > isChecked ( ) ) ;
session - > setAddTorrentPaused ( addTorrentsInPause ( ) ) ;
session - > setCreateTorrentSubf older ( m_ui - > checkCreateSubf older - > isChecked ( ) ) ;
session - > setKeepTorrentTopLevelF older ( m_ui - > checkKeepTopLevelF older - > isChecked ( ) ) ;
ScanFoldersModel : : instance ( ) - > removeFromFSWatcher ( m_removedScanDirs ) ;
ScanFoldersModel : : instance ( ) - > addToFSWatcher ( m_addedScanDirs ) ;
ScanFoldersModel : : instance ( ) - > makePersistent ( ) ;
@ -977,7 +977,7 @@ void OptionsDialog::loadOptions()
@@ -977,7 +977,7 @@ void OptionsDialog::loadOptions()
m_ui - > checkAdditionDialog - > setChecked ( AddNewTorrentDialog : : isEnabled ( ) ) ;
m_ui - > checkAdditionDialogFront - > setChecked ( AddNewTorrentDialog : : isTopLevel ( ) ) ;
m_ui - > checkStartPaused - > setChecked ( session - > isAddTorrentPaused ( ) ) ;
m_ui - > checkCreateSubf older - > setChecked ( session - > isCreateTorrentSubf older ( ) ) ;
m_ui - > checkKeepTopLevelF older - > setChecked ( session - > isKeepTorrentTopLevelF older ( ) ) ;
const TorrentFileGuard : : AutoDeleteMode autoDeleteMode = TorrentFileGuard : : autoDeleteMode ( ) ;
m_ui - > deleteTorrentBox - > setChecked ( autoDeleteMode ! = TorrentFileGuard : : Never ) ;
m_ui - > deleteCancelledTorrentBox - > setChecked ( autoDeleteMode = = TorrentFileGuard : : Always ) ;