mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
feat: default public trackers
This commit is contained in:
committed by
Charles Kerr
parent
f436d742a2
commit
7b377511a9
@@ -1022,6 +1022,10 @@ void Application::Impl::on_prefs_changed(tr_quark const key)
|
||||
tr_sessionSetEncryption(tr, static_cast<tr_encryption_mode>(gtr_pref_int_get(key)));
|
||||
break;
|
||||
|
||||
case TR_KEY_default_trackers:
|
||||
tr_sessionSetDefaultTrackers(tr, gtr_pref_string_get(key).c_str());
|
||||
break;
|
||||
|
||||
case TR_KEY_download_dir:
|
||||
tr_sessionSetDownloadDir(tr, gtr_pref_string_get(key).c_str());
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user