Ignore:
Timestamp:
Nov 8, 2008, 2:49:04 AM (10 years ago)
Author:
charles
Message:

more fucking around with the speed measurements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r7047 r7069  
    15081508            {
    15091509                //set rates
    1510                 float downloadRate, uploadRate;
    1511                 tr_sessionGetSpeed(fLib, &downloadRate, &uploadRate);
     1510                float downloadRate = tr_sessionGetPieceSpeed( fLib, TR_DOWN );
     1511                float uploadRate = tr_sessionGetPieceSpeed( fLib, TR_UP );
    15121512               
    15131513                [fTotalDLField setStringValue: [NSString stringForSpeed: downloadRate]];
Note: See TracChangeset for help on using the changeset viewer.