(qt) keep the size display the same as the gtk client

This commit is contained in:
Daniel Lee 2010-06-22 00:34:24 +00:00
parent 5ad7ed550f
commit 5701ac82e0
1 changed files with 2 additions and 2 deletions

View File

@ -76,12 +76,12 @@ Utils :: sizeToString( double size )
else if( size < (int64_t)GIGABYTE_FACTOR )
{
displayed_size = (double)size / MEGABYTE_FACTOR;
str = tr( "%L1 MiB" ).arg( displayed_size, 0, 'f', 2 );
str = tr( "%L1 MiB" ).arg( displayed_size, 0, 'f', 1 );
}
else
{
displayed_size = (double) size / GIGABYTE_FACTOR;
str = tr( "%L1 GiB" ).arg( displayed_size, 0, 'f', 3 );
str = tr( "%L1 GiB" ).arg( displayed_size, 0, 'f', 1 );
}
}