Changeset 13892


Ignore:
Timestamp:
Jan 28, 2013, 2:12:07 AM (8 years ago)
Author:
jordan
Message:

(qt) remove unused Torrent field 'torrentFile'

Location:
trunk/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/torrent.cc

    r13810 r13892  
    111111  { MANUAL_ANNOUNCE_TIME, TR_KEY_manualAnnounceTime, QVariant::DateTime, STAT_EXTRA },
    112112  { PEERS, TR_KEY_peers, TrTypes::PeerList, STAT_EXTRA },
    113   { TORRENT_FILE, TR_KEY_torrentFile, QVariant::String, STAT_EXTRA },
    114113  { BANDWIDTH_PRIORITY, TR_KEY_bandwidthPriority, QVariant::Int, STAT_EXTRA },
    115114  { QUEUE_POSITION, TR_KEY_queuePosition, QVariant::Int, STAT },
  • trunk/qt/torrent.h

    r13810 r13892  
    175175            MANUAL_ANNOUNCE_TIME,
    176176            PEERS,
    177             TORRENT_FILE,
    178177            BANDWIDTH_PRIORITY,
    179178            QUEUE_POSITION,
     
    251250        QString getError( ) const;
    252251        QString hashString( ) const { return getString( HASH_STRING ); }
    253         QString torrentFile( ) const { return getString( TORRENT_FILE ); }
    254252        bool hasError( ) const { return !getError( ).isEmpty( ); }
    255253        bool isDone( ) const { return getSize( LEFT_UNTIL_DONE ) == 0; }
Note: See TracChangeset for help on using the changeset viewer.