Changeset 3137
- Timestamp:
- Sep 22, 2007, 1:36:22 PM (15 years ago)
- Location:
- trunk/wx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wx/torrent-list.cc
r3109 r3137 228 228 std::string str; 229 229 const tr_stat * s = getStat( tor ); 230 const tr_info _t* info = tr_torrentInfo( tor );230 const tr_info * info = tr_torrentInfo( tor ); 231 231 232 232 for( int_v::const_iterator it(cols.begin()), end(cols.end()); it!=end; ++it ) … … 571 571 for( int i=0; i<n; ++i ) { 572 572 int idx = GetItemData( i ); 573 const tr_info _t* info = tr_torrentInfo( myTorrents[idx] );573 const tr_info * info = tr_torrentInfo( myTorrents[idx] ); 574 574 tmp[info->hashString] = i; 575 575 } … … 691 691 { 692 692 tr_torrent * tor = myTorrents[GetItemData(item)]; 693 const tr_info _t* info = tr_torrentInfo( tor );693 const tr_info * info = tr_torrentInfo( tor ); 694 694 695 695 if( remove.count( tor ) ) … … 716 716 TorrentListCtrl :: getStat( tr_torrent * tor ) 717 717 { 718 const tr_info _t* info = tr_torrentInfo( tor );718 const tr_info * info = tr_torrentInfo( tor ); 719 719 const time_t now = time( 0 ); 720 720 TorStat& ts = myHashToStat[ info->hashString ]; -
trunk/wx/torrent-list.h
r3109 r3137 32 32 { 33 33 public: 34 TorrentListCtrl( tr_handle _t* handle,35 wxConfig 36 wxWindow 37 const wxPoint 38 const wxSize 34 TorrentListCtrl( tr_handle * handle, 35 wxConfig * config, 36 wxWindow * parent, 37 const wxPoint & pos = wxDefaultPosition, 38 const wxSize & size = wxDefaultSize ); 39 39 virtual ~TorrentListCtrl(); 40 40
Note: See TracChangeset
for help on using the changeset viewer.