Changeset 10817


Ignore:
Timestamp:
Jun 22, 2010, 12:34:24 AM (12 years ago)
Author:
Longinus00
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/utils.cc

    r10816 r10817  
    7777        {
    7878            displayed_size = (double)size / MEGABYTE_FACTOR;
    79             str = tr( "%L1 MiB" ).arg( displayed_size,  0, 'f', 2 );
     79            str = tr( "%L1 MiB" ).arg( displayed_size,  0, 'f', 1 );
    8080        }
    8181        else
    8282        {
    8383            displayed_size = (double) size / GIGABYTE_FACTOR;
    84             str = tr( "%L1 GiB" ).arg( displayed_size,  0, 'f', 3 );
     84            str = tr( "%L1 GiB" ).arg( displayed_size,  0, 'f', 1 );
    8585        }
    8686    }
Note: See TracChangeset for help on using the changeset viewer.