Browse Source

Fix: 'announce to all trackers' checkbox could't be set by the user.

adaptive-webui-19844
sledgehammer_999 13 years ago
parent
commit
cdf68c90ba
  1. 2
      src/preferences/advancedsettings.h

2
src/preferences/advancedsettings.h

@ -249,7 +249,7 @@ private slots:
setRow(TRACKER_EXCHANGE, tr("Exchange trackers with other peers"), &cb_enable_tracker_ext); setRow(TRACKER_EXCHANGE, tr("Exchange trackers with other peers"), &cb_enable_tracker_ext);
#if LIBTORRENT_VERSION_MINOR > 14 #if LIBTORRENT_VERSION_MINOR > 14
// Announce to all trackers // Announce to all trackers
cb_announce_all_trackers.setCheckable(pref.announceToAllTrackers()); cb_announce_all_trackers.setChecked(pref.announceToAllTrackers());
setRow(ANNOUNCE_ALL_TRACKERS, tr("Always announce to all trackers"), &cb_announce_all_trackers); setRow(ANNOUNCE_ALL_TRACKERS, tr("Always announce to all trackers"), &cb_announce_all_trackers);
#endif #endif
} }

Loading…
Cancel
Save