Changeset 10110


Ignore:
Timestamp:
Feb 6, 2010, 1:34:21 PM (12 years ago)
Author:
charles
Message:

(trunk, qt) #2841 "new torrents via .torrent not added in qt client" -- fixed in trunk for 1.90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/session.cc

    r9890 r10110  
    865865    args = tr_bencDictAddDict( &top, "arguments", 3 );
    866866    tr_bencDictAddStr( args, "download-dir", qPrintable(localPath) );
    867     tr_bencDictAddInt( args, "paused", !myPrefs.getBool( Prefs::START ) );
     867    tr_bencDictAddBool( args, "paused", !myPrefs.getBool( Prefs::START ) );
    868868
    869869    // if "key" is a readable local file, add it as metadata...
     
    880880        tr_bencDictAddRaw( args, "metainfo", b64, b64len  );
    881881        tr_free( b64 );
    882         tr_bencFree( &top );
    883882    }
    884883    else
Note: See TracChangeset for help on using the changeset viewer.