Changeset 13889


Ignore:
Timestamp:
Jan 27, 2013, 9:02:04 PM (8 years ago)
Author:
jordan
Message:

(qt) when changing the session's download dir, call session-get to update the freespace value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/session.cc

    r13883 r13889  
    151151        case Prefs :: BLOCKLIST_URL:
    152152        case Prefs :: DHT_ENABLED:
    153         case Prefs :: DOWNLOAD_DIR:
    154153        case Prefs :: DOWNLOAD_QUEUE_ENABLED:
    155154        case Prefs :: DOWNLOAD_QUEUE_SIZE:
     
    177176        case Prefs :: UTP_ENABLED:
    178177            sessionSet( myPrefs.getKey(key), myPrefs.variant(key) );
     178            break;
     179
     180        case Prefs :: DOWNLOAD_DIR:
     181            sessionSet (myPrefs.getKey(key), myPrefs.variant(key));
     182            /* this will change the 'freespace' argument, so refresh */
     183            refreshSessionInfo ();
    179184            break;
    180185
Note: See TracChangeset for help on using the changeset viewer.