diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-12 02:46:31 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-12 02:46:31 -0400 |
| commit | 45f0a9e78ac876a2a956bc538c6d34358703e338 (patch) | |
| tree | e05b9248f09255154359fb4237f5b36faed2800e /src/apiuseraccount.h | |
| parent | be1ee2a97c867a80c07c4b865c306977d96249dc (diff) | |
nexus info and stats in settings
cleaned up double logging for github
reset validation progress dialog parent just before the main window dies
removed unused APIStats from APIUserAccount, added isValid()
Diffstat (limited to 'src/apiuseraccount.h')
| -rw-r--r-- | src/apiuseraccount.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/apiuseraccount.h b/src/apiuseraccount.h index 7dd16128..ea4e8685 100644 --- a/src/apiuseraccount.h +++ b/src/apiuseraccount.h @@ -18,6 +18,8 @@ enum class APIUserAccountTypes Premium }; +QString localizedUserAccountType(APIUserAccountTypes t); + /** * current limits imposed on the user account @@ -62,6 +64,11 @@ public: /** + * whether the user is logged in + */ + bool isValid() const; + + /** * api key */ const QString& apiKey() const; @@ -134,7 +141,6 @@ private: QString m_key, m_id, m_name; APIUserAccountTypes m_type; APILimits m_limits; - APIStats m_stats; }; #endif // APIUSERACCOUNT_H |
