1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-26 22:44:36 +00:00

Load the domain list at least once on startup.

Fixup of 0532d546d7f3f971cbe9b7f6cf5202995e18d0d6
This commit is contained in:
Chocobo1 2017-07-13 00:41:30 +08:00
parent 0532d546d7
commit 07780b48c5

View File

@ -94,6 +94,7 @@ AbstractWebApplication::AbstractWebApplication(QObject *parent)
connect(timer, &QTimer::timeout, this, &AbstractWebApplication::removeInactiveSessions);
timer->start(60 * 1000); // 1 min.
reloadDomainList();
connect(Preferences::instance(), &Preferences::changed, this, &AbstractWebApplication::reloadDomainList);
}