1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Merge pull request #7096 from Chocobo1/fix

[WebUI] Load the domain list at least once on startup
This commit is contained in:
Mike Tzou 2017-07-13 17:34:35 +08:00 committed by GitHub
commit a6bb642200

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);
}