1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 04:07:46 +00:00

Further, simplify gate status check

This commit is contained in:
Joshua Goins 2022-09-05 15:50:58 -04:00
parent db7ff8547f
commit ad04cf4519

View file

@ -50,12 +50,10 @@ void SquareBoot::bootCheck(const LoginInformation& info) {
} }
void SquareBoot::checkGateStatus(LoginInformation* info) { void SquareBoot::checkGateStatus(LoginInformation* info) {
QUrl url; QUrl url("https://frontier.ffxiv.com/worldStatus/gate_status.json");
url.setUrl("https://frontier.ffxiv.com/worldStatus/gate_status.json");
url.setQuery(QString::number(QDateTime::currentMSecsSinceEpoch())); url.setQuery(QString::number(QDateTime::currentMSecsSinceEpoch()));
QNetworkRequest request; QNetworkRequest request(url);
request.setUrl(url);
// TODO: really? // TODO: really?
window.buildRequest(*info->settings, request); window.buildRequest(*info->settings, request);