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

Simplify gate status query building

This commit is contained in:
Joshua Goins 2022-09-05 15:49:58 -04:00
parent 37e1e67558
commit db7ff8547f

View file

@ -50,12 +50,9 @@ void SquareBoot::bootCheck(const LoginInformation& info) {
} }
void SquareBoot::checkGateStatus(LoginInformation* info) { void SquareBoot::checkGateStatus(LoginInformation* info) {
QUrlQuery query;
query.addQueryItem("", QString::number(QDateTime::currentMSecsSinceEpoch()));
QUrl url; QUrl url;
url.setUrl("https://frontier.ffxiv.com/worldStatus/gate_status.json"); url.setUrl("https://frontier.ffxiv.com/worldStatus/gate_status.json");
url.setQuery(query); url.setQuery(QString::number(QDateTime::currentMSecsSinceEpoch()));
QNetworkRequest request; QNetworkRequest request;
request.setUrl(url); request.setUrl(url);