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