show error code in dialog, change text for no internet

Signed-off-by: Tayou <git@tayou.org>
This commit is contained in:
Tayou 2026-06-11 17:24:30 +02:00
parent 768d12259b
commit d71cfc33a2
No known key found for this signature in database
GPG key ID: AAAF6C17E5E51872
6 changed files with 17 additions and 2 deletions

View file

@ -41,6 +41,7 @@
#include <QDateTime>
#include <QMap>
#include <QNetworkReply>
#include <QVariantMap>
enum class Validity { None, Assumed, Certain };
@ -118,5 +119,6 @@ struct AccountData {
// runtime only information (not saved with the account)
QString internalId;
QString errorString;
QNetworkReply::NetworkError networkError = QNetworkReply::NoError;
AccountState accountState = AccountState::Unchecked;
};