Changeset 3986


Ignore:
Timestamp:
Nov 26, 2007, 8:23:12 PM (15 years ago)
Author:
livings124
Message:

stats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/StatsWindowController.m

    r3981 r3986  
    8080    tr_getSessionStats(fLib, &statsSession);
    8181   
    82     #warning make display better
    83     [fUploadedField setStringValue: [NSString stringForFileSize: statsSession.uploadedMiB * 1048576]];
    84     [fUploadedAllField setStringValue: [[NSString stringForFileSize: statsAll.uploadedMiB * 1048576]
     82    [fUploadedField setStringValue: [NSString stringForFileSize: statsSession.uploadedBytes]];
     83    [fUploadedAllField setStringValue: [[NSString stringForFileSize: statsAll.uploadedBytes]
    8584                                        stringByAppendingString: NSLocalizedString(@" total", "stats total")]];
    8685   
    87     [fDownloadedField setStringValue: [NSString stringForFileSize: statsSession.downloadedMiB * 1048576]];
    88     [fDownloadedAllField setStringValue: [[NSString stringForFileSize: statsAll.downloadedMiB * 1048576]
     86    [fDownloadedField setStringValue: [NSString stringForFileSize: statsSession.downloadedBytes]];
     87    [fDownloadedAllField setStringValue: [[NSString stringForFileSize: statsAll.downloadedBytes]
    8988                                            stringByAppendingString: NSLocalizedString(@" total", "stats total")]];
    9089   
Note: See TracChangeset for help on using the changeset viewer.