Changeset 10738


Ignore:
Timestamp:
Jun 8, 2010, 5:37:29 PM (12 years ago)
Author:
Longinus00
Message:

(qt) #3275: Seed ratio limit and ratio limit enabled are currently not pulled from a remote session

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/session.cc

    r10645 r10738  
    825825    }
    826826
     827    tr_bool b;
     828    double x;
     829    if( tr_bencDictFindBool( d, "seedRatioLimited", &b ) )
     830        myPrefs.set( Prefs::RATIO_ENABLED, b ? true : false );
     831    if( tr_bencDictFindReal( d, "seedRatioLimit", &x ) )
     832        myPrefs.set( Prefs::RATIO, x );
     833
    827834    /* Use the C API to get settings that, for security reasons, aren't supported by RPC */
    828835    if( mySession != 0 )
Note: See TracChangeset for help on using the changeset viewer.