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:
parent
37e1e67558
commit
db7ff8547f
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue