mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
Merge pull request #7096 from Chocobo1/fix
[WebUI] Load the domain list at least once on startup
This commit is contained in:
commit
a6bb642200
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ AbstractWebApplication::AbstractWebApplication(QObject *parent)
|
||||||
connect(timer, &QTimer::timeout, this, &AbstractWebApplication::removeInactiveSessions);
|
connect(timer, &QTimer::timeout, this, &AbstractWebApplication::removeInactiveSessions);
|
||||||
timer->start(60 * 1000); // 1 min.
|
timer->start(60 * 1000); // 1 min.
|
||||||
|
|
||||||
|
reloadDomainList();
|
||||||
connect(Preferences::instance(), &Preferences::changed, this, &AbstractWebApplication::reloadDomainList);
|
connect(Preferences::instance(), &Preferences::changed, this, &AbstractWebApplication::reloadDomainList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue