Changeset 308
- Timestamp:
- 09/28/07 13:57:19 (13 years ago)
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/advtabs/Files.cpp
r307 r308 144 144 hal::bittorrent().setTorrentFilePriorities(torrent, indices, priority); 145 145 146 // TryUpdateLock<thisClass> lock(*this); 147 // if (lock) 148 // { 149 signal(); 150 // } 146 TryUpdateLock<thisClass> lock(*this); 147 if (lock) signal(); 151 148 } 152 149 … … 243 240 { 244 241 const hal::TorrentDetail_ptr pT = tD.focusedTorrent(); 242 if (pT->fileDetails().size() != fileDetails_.size()) return; 245 243 246 244 // Wipe details not present -
src/halTorrent.hpp
r307 r308 73 73 struct FileDetail 74 74 { 75 FileDetail(boost::filesystem::wpath p, size_t s=0, float pg=0, int pr=1, size_t o=0) :75 FileDetail(boost::filesystem::wpath p, unsigned t=FileDetail::file, size_t s=0, float pg=0, int pr=1, size_t o=0) : 76 76 branch(p.branch_path()), 77 77 filename(p.leaf()), 78 type(t), 78 79 size(s), 79 80 progress(pg), … … 92 93 } 93 94 95 enum FileType 96 { 97 folder, 98 file 99 }; 100 94 101 size_t order() { return order_; } 95 102 96 103 boost::filesystem::wpath branch; 97 104 wstring filename; 105 unsigned type; 98 106 size_t size; 99 107 float progress;
Note: See TracChangeset
for help on using the changeset viewer.