|
|
@ -43,7 +43,6 @@ enum AdvSettingsRows |
|
|
|
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC)) |
|
|
|
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC)) |
|
|
|
USE_ICON_THEME, |
|
|
|
USE_ICON_THEME, |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
CONFIRM_DELETE_TORRENT, |
|
|
|
|
|
|
|
CONFIRM_RECHECK_TORRENT, |
|
|
|
CONFIRM_RECHECK_TORRENT, |
|
|
|
TRACKER_EXCHANGE, |
|
|
|
TRACKER_EXCHANGE, |
|
|
|
ANNOUNCE_ALL_TRACKERS, |
|
|
|
ANNOUNCE_ALL_TRACKERS, |
|
|
@ -57,7 +56,7 @@ class AdvancedSettings: public QTableWidget |
|
|
|
private: |
|
|
|
private: |
|
|
|
QSpinBox spin_cache, spin_save_resume_data_interval, outgoing_ports_min, outgoing_ports_max, spin_list_refresh, spin_maxhalfopen, spin_tracker_port; |
|
|
|
QSpinBox spin_cache, spin_save_resume_data_interval, outgoing_ports_min, outgoing_ports_max, spin_list_refresh, spin_maxhalfopen, spin_tracker_port; |
|
|
|
QCheckBox cb_os_cache, cb_recheck_completed, cb_resolve_countries, cb_resolve_hosts, |
|
|
|
QCheckBox cb_os_cache, cb_recheck_completed, cb_resolve_countries, cb_resolve_hosts, |
|
|
|
cb_super_seeding, cb_program_notifications, cb_tracker_status, cb_confirm_torrent_deletion, |
|
|
|
cb_super_seeding, cb_program_notifications, cb_tracker_status, |
|
|
|
cb_confirm_torrent_recheck, cb_enable_tracker_ext, cb_listen_ipv6; |
|
|
|
cb_confirm_torrent_recheck, cb_enable_tracker_ext, cb_listen_ipv6; |
|
|
|
QComboBox combo_iface; |
|
|
|
QComboBox combo_iface; |
|
|
|
QSpinBox spin_cache_ttl; |
|
|
|
QSpinBox spin_cache_ttl; |
|
|
@ -147,7 +146,6 @@ public slots: |
|
|
|
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC)) |
|
|
|
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC)) |
|
|
|
pref->useSystemIconTheme(cb_use_icon_theme.isChecked()); |
|
|
|
pref->useSystemIconTheme(cb_use_icon_theme.isChecked()); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
pref->setConfirmTorrentDeletion(cb_confirm_torrent_deletion.isChecked()); |
|
|
|
|
|
|
|
pref->setConfirmTorrentRecheck(cb_confirm_torrent_recheck.isChecked()); |
|
|
|
pref->setConfirmTorrentRecheck(cb_confirm_torrent_recheck.isChecked()); |
|
|
|
// Tracker exchange
|
|
|
|
// Tracker exchange
|
|
|
|
pref->setTrackerExchangeEnabled(cb_enable_tracker_ext.isChecked()); |
|
|
|
pref->setTrackerExchangeEnabled(cb_enable_tracker_ext.isChecked()); |
|
|
@ -313,9 +311,6 @@ private slots: |
|
|
|
cb_use_icon_theme.setChecked(pref->useSystemIconTheme()); |
|
|
|
cb_use_icon_theme.setChecked(pref->useSystemIconTheme()); |
|
|
|
setRow(USE_ICON_THEME, tr("Use system icon theme"), &cb_use_icon_theme); |
|
|
|
setRow(USE_ICON_THEME, tr("Use system icon theme"), &cb_use_icon_theme); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
// Torrent deletion confirmation
|
|
|
|
|
|
|
|
cb_confirm_torrent_deletion.setChecked(pref->confirmTorrentDeletion()); |
|
|
|
|
|
|
|
setRow(CONFIRM_DELETE_TORRENT, tr("Confirm torrent deletion"), &cb_confirm_torrent_deletion); |
|
|
|
|
|
|
|
// Torrent recheck confirmation
|
|
|
|
// Torrent recheck confirmation
|
|
|
|
cb_confirm_torrent_recheck.setChecked(pref->confirmTorrentRecheck()); |
|
|
|
cb_confirm_torrent_recheck.setChecked(pref->confirmTorrentRecheck()); |
|
|
|
setRow(CONFIRM_RECHECK_TORRENT, tr("Confirm torrent recheck"), &cb_confirm_torrent_recheck); |
|
|
|
setRow(CONFIRM_RECHECK_TORRENT, tr("Confirm torrent recheck"), &cb_confirm_torrent_recheck); |
|
|
|