mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Move network related code to core/net.
This commit is contained in:
parent
3eeed813d6
commit
4b5e7e6168
14 changed files with 154 additions and 70 deletions
|
|
@ -29,7 +29,7 @@
|
|||
#include "webui.h"
|
||||
#include "http/server.h"
|
||||
#include "webapplication.h"
|
||||
#include "dnsupdater.h"
|
||||
#include "core/net/dnsupdater.h"
|
||||
#include "preferences.h"
|
||||
#include "logger.h"
|
||||
|
||||
|
|
@ -82,7 +82,7 @@ void WebUI::init()
|
|||
// DynDNS
|
||||
if (pref->isDynDNSEnabled()) {
|
||||
if (!dynDNSUpdater_)
|
||||
dynDNSUpdater_ = new DNSUpdater(this);
|
||||
dynDNSUpdater_ = new Net::DNSUpdater(this);
|
||||
else
|
||||
dynDNSUpdater_->updateCredentials();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue