mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 15:05:19 +03:00
Fix the Utility Test
1 should be printed as "1" and not as "1.00"
This commit is contained in:
parent
0a6aa88d72
commit
944564258c
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ QString Utility::octetsToString( qint64 octets )
|
|||
s = QCoreApplication::translate("Utility", "%L1 B");
|
||||
}
|
||||
|
||||
return (value > 9.95) ? s.arg(qRound(value)) : s.arg(value, 0, 'f', 2);
|
||||
return (value > 9.95) ? s.arg(qRound(value)) : s.arg(value, 0, 'g', 2);
|
||||
}
|
||||
|
||||
// Qtified version of get_platforms() in csync_owncloud.c
|
||||
|
|
Loading…
Reference in a new issue