Don't display quota information when the user has no quota.
authorCamila <hello@camila.codes>
Wed, 1 Jul 2020 19:30:17 +0000 (21:30 +0200)
committerKevin Ottens <ervin@ipsquad.net>
Thu, 2 Jul 2020 18:06:12 +0000 (20:06 +0200)
commitbd9aae8ca29c43ba22b5b916499a03defa840884
tree7a41e9323d5ac9a7aca5473f749153fa522a8791
parentfdc160460b81be45ef1ad4361bc20f69187f6f99
Don't display quota information when the user has no quota.

- The code handling the api response was not up to date with the latest
api changes.
- Unlimited quota display: use qint64 to avoid data loss
- Change total with quota: total holds the quota total and not the storage total.

Signed-off-by: Camila <hello@camila.codes>
src/gui/accountsettings.cpp
src/gui/accountsettings.h
src/gui/userinfo.cpp