diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp index 0c89b983e..d625d7d2d 100644 --- a/src/gui/accountsettings.cpp +++ b/src/gui/accountsettings.cpp @@ -739,7 +739,7 @@ void AccountSettings::slotUpdateQuota(qint64 total, qint64 used) _ui->quotaProgressBar->setVisible(false); _ui->quotaInfoLabel->setToolTip(QString()); - /* -1 means not computed; -2 means unknown; -3 means unlimited (#3940)*/ + /* -1 means not computed; -2 means unknown; -3 means unlimited (#owncloud/client/issues/3940)*/ if (total == 0 || total == -1) { _ui->quotaInfoLabel->setText(tr("Currently there is no storage usage information available.")); } else { diff --git a/src/gui/accountsettings.h b/src/gui/accountsettings.h index a67994279..3dfa18fb9 100644 --- a/src/gui/accountsettings.h +++ b/src/gui/accountsettings.h @@ -68,7 +68,7 @@ signals: public slots: void slotOpenOC(); - void slotUpdateQuota(qint64, qint64); + void slotUpdateQuota(qint64 total, qint64 used); void slotAccountStateChanged(); void slotStyleChanged(); diff --git a/src/gui/userinfo.cpp b/src/gui/userinfo.cpp index c7916c516..d26bcab9c 100644 --- a/src/gui/userinfo.cpp +++ b/src/gui/userinfo.cpp @@ -124,7 +124,7 @@ void UserInfo::slotUpdateLastInfo(const QJsonDocument &json) // Quota auto objQuota = objData.value("quota").toObject(); qint64 used = objQuota.value("used").toDouble(); - qint64 total = objQuota.value("total").toDouble(); + qint64 total = objQuota.value("quota").toDouble(); if(_lastInfoReceived.isNull() || _lastQuotaUsedBytes != used || _lastQuotaTotalBytes != total) { _lastQuotaUsedBytes = used;