mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
show error code in dialog, change text for no internet
Signed-off-by: Tayou <git@tayou.org>
This commit is contained in:
parent
768d12259b
commit
d71cfc33a2
6 changed files with 17 additions and 2 deletions
|
|
@ -59,6 +59,7 @@ void XboxUserStep::onRequestDone(QByteArray* response)
|
|||
if (Net::isApplicationError(m_request->error()) && !Net::isServerError(m_request->error())) {
|
||||
emit finished(AccountTaskState::STATE_FAILED_SOFT, tr("Xbox user authentication failed: %1").arg(m_request->errorString()));
|
||||
} else {
|
||||
m_data->networkError = m_request->error();
|
||||
emit finished(AccountTaskState::STATE_OFFLINE, tr("Xbox user authentication failed: %1").arg(m_request->errorString()));
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue