Changing listen/dht port changes the listening/dht ports.

This commit is contained in:
Jari Sundell
2026-07-12 10:19:33 +02:00
committed by rakshasa
parent 7e907616a2
commit d8664e6b4c
7 changed files with 53 additions and 55 deletions
-3
View File
@@ -70,9 +70,6 @@ Control::initialize() {
display::Window::slot_unschedule([this](display::Window* w) { m_display->unschedule(w); });
display::Window::slot_adjust([this]() { m_display->adjust_layout(); });
torrent::net_thread::http_stack()->set_user_agent(USER_AGENT);
m_core->listen_open();
m_core->set_hashing_view(*m_view_manager->find_throw("hashing"));
m_ui->init(this);