Changeset 10430


Ignore:
Timestamp:
Mar 31, 2010, 7:42:30 PM (11 years ago)
Author:
charles
Message:

(trunk qt) #3095 "Don't show remaining time for paused torrents" -- fixed in trunk for 2.00 by a patch from Longinus00

Location:
trunk/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/torrent-delegate.cc

    r9890 r10430  
    117117
    118118    /* add time when downloading */
    119     if( hasSeedRatio || tor.isDownloading( ) )
     119    if( ( hasSeedRatio && tor.isSeeding( ) ) || tor.isDownloading( ) )
    120120    {
    121121        str += tr( " - " );
  • trunk/qt/torrent.h

    r10077 r10430  
    276276        bool isVerifying( ) const { return getActivity( ) == TR_STATUS_CHECK; }
    277277        bool isDownloading( ) const { return getActivity( ) == TR_STATUS_DOWNLOAD; }
     278        bool isSeeding( ) const { return getActivity( ) == TR_STATUS_SEED; }
    278279        bool isReadyToTransfer( ) const { return getActivity()==TR_STATUS_DOWNLOAD || getActivity()==TR_STATUS_SEED; }
    279280        void notifyComplete( ) const;
Note: See TracChangeset for help on using the changeset viewer.