feat: default public trackers

This commit is contained in:
Stefan Talpalaru
2022-02-20 11:54:20 -06:00
committed by Charles Kerr
parent f436d742a2
commit 7b377511a9
19 changed files with 265 additions and 3 deletions

View File

@@ -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;