Load the domain list at least once on startup.

Fixup of 0532d546d7
This commit is contained in:
Chocobo1 2017-07-13 00:41:30 +08:00
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);
}