mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
refactor: Remove outdated VATSIM datafile URL from cache class
The cache is filled at every start with the URLs from the status file. There should be no need to hardcode a URL here.
This commit is contained in:
@@ -11,8 +11,7 @@ BLACK_DEFINE_VALUEOBJECT_MIXINS(BlackCore::Data, CVatsimSetup)
|
||||
|
||||
namespace BlackCore::Data
|
||||
{
|
||||
CVatsimSetup::CVatsimSetup() : ITimestampBased(0),
|
||||
m_dataFileUrls(QStringList({ "http://info.vroute.net/vatsim-data.txt" }))
|
||||
CVatsimSetup::CVatsimSetup() : ITimestampBased(0)
|
||||
{}
|
||||
|
||||
bool CVatsimSetup::setUrls(const CUrlList &dataFileUrls, const CUrlList &serverFileUrls, const CUrlList &metarFileUrls)
|
||||
|
||||
Reference in New Issue
Block a user