This commit is contained in:
Daniel Molkentin 2013-06-28 23:23:42 +02:00
parent e7c77df59e
commit 152e729768

View file

@ -669,7 +669,7 @@ void Application::slotRefreshQuotaDisplay( qint64 total, qint64 used )
percentFormatted = QLatin1String("<1"); percentFormatted = QLatin1String("<1");
} }
} else { } else {
percentFormatted = QString::number(percent); percentFormatted = QString::number((int)percent);
} }
QString totalFormatted = octetsToString(total); QString totalFormatted = octetsToString(total);
_actionQuota->setText(tr("%1% of %2 used").arg(percentFormatted).arg(totalFormatted)); _actionQuota->setText(tr("%1% of %2 used").arg(percentFormatted).arg(totalFormatted));