1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 19:57:45 +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) {
QUrl url;
url.setUrl("https://frontier.ffxiv.com/worldStatus/gate_status.json");
QUrl url("https://frontier.ffxiv.com/worldStatus/gate_status.json");
url.setQuery(QString::number(QDateTime::currentMSecsSinceEpoch()));
QNetworkRequest request;
request.setUrl(url);
QNetworkRequest request(url);
// TODO: really?
window.buildRequest(*info->settings, request);