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 committed by sledgehammer999
commit 7e9ece2701
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

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