Changeset 13883 for trunk/qt/session.cc


Ignore:
Timestamp:
Jan 27, 2013, 5:19:51 PM (10 years ago)
Author:
jordan
Message:

(qt) #4076 'free space indicator' -- added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/session.cc

    r13864 r13883  
    248248    mySession( 0 ),
    249249    myConfigDir( QString::fromUtf8( configDir ) ),
    250     myNAM( 0 )
     250    myNAM( 0 ),
     251    myDownloadDirFreeSpace( -1 )
    251252{
    252253    myStats.ratio = TR_RATIO_NA;
     
    993994        mySessionVersion = str;
    994995
     996    if( tr_variantDictFindInt( d, TR_KEY_download_dir_free_space, &i ) && ( myDownloadDirFreeSpace != i ) )
     997        myDownloadDirFreeSpace = i;
     998
    995999    //std::cerr << "Session :: updateInfo end" << std::endl;
    9961000    connect( &myPrefs, SIGNAL(changed(int)), this, SLOT(updatePref(int)) );
Note: See TracChangeset for help on using the changeset viewer.