Browse Source

- dropped Threaded branch

- Added a function to torrent_handle wrapper for debug use
adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
cebb5fc1fe
  1. 4
      src/qtorrenthandle.cpp
  2. 1
      src/qtorrenthandle.h

4
src/qtorrenthandle.cpp

@ -217,6 +217,10 @@ QStringList QTorrentHandle::files_path() const { @@ -217,6 +217,10 @@ QStringList QTorrentHandle::files_path() const {
return res;
}
int QTorrentHandle::num_uploads() const {
return s.num_uploads;
}
//
// Setters
//

1
src/qtorrenthandle.h

@ -84,6 +84,7 @@ class QTorrentHandle { @@ -84,6 +84,7 @@ class QTorrentHandle {
size_type total_payload_download();
size_type total_payload_upload();
QStringList files_path() const;
int num_uploads() const;
//
// Setters

Loading…
Cancel
Save