diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-12-28 03:12:15 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-12-28 03:12:15 -0500 |
| commit | 1be20063595206d42ec95a5028b8ecf8f7567476 (patch) | |
| tree | 4049f5dda7b2624cc0f0365797b7ff9c5c8c8c80 /src/nxmaccessmanager.cpp | |
| parent | 51db1f99f0c4cddc0af224d46d6e5679d18d2a53 (diff) | |
offline mode:
- don't try to login on startup
- don't try to update loot when sorting and display a warning that the master list might be stale
Diffstat (limited to 'src/nxmaccessmanager.cpp')
| -rw-r--r-- | src/nxmaccessmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nxmaccessmanager.cpp b/src/nxmaccessmanager.cpp index 30108c21..001e1bb1 100644 --- a/src/nxmaccessmanager.cpp +++ b/src/nxmaccessmanager.cpp @@ -935,6 +935,11 @@ void NXMAccessManager::apiCheck(const QString &apiKey, bool force) return; } + if (m_Settings && m_Settings->network().offlineMode()) { + m_validationState = NotChecked; + return; + } + if (force) { m_validationState = NotChecked; } |
