This commit is contained in:
Jordan Lee 2013-04-13 12:22:07 +00:00
parent a8f375eb88
commit 152e78199c
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ FreespaceLabel :: onSessionExecuted (int64_t tag, const QString& result, struct
tr_variantDictFindInt (arguments, TR_KEY_size_bytes, &bytes);
if (bytes >= 0)
setText (tr("%1 free").arg(Formatter::sizeToString (bytes)));
else
setText ("");
// update the tooltip
size_t len = 0;