projects
/
qtrapids
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
formatting progress as percents
[qtrapids]
/
src
/
include
/
qtrapids
/
info.hpp
diff --git
a/src/include/qtrapids/info.hpp
b/src/include/qtrapids/info.hpp
index
6265155
..
f944677
100644
(file)
--- a/
src/include/qtrapids/info.hpp
+++ b/
src/include/qtrapids/info.hpp
@@
-9,7
+9,9
@@
namespace qtrapids
{
namespace qtrapids
{
- static const uint32_t torrent_progress_max = std::numeric_limits<uint32_t>::max();
+ static const uint32_t torrent_progress_max = 1000000;
+ static const uint32_t torrent_progress_percent = 10000;
+ //std::numeric_limits<uint32_t>::max();
typedef libtorrent::torrent_status TorrentStatus_t;
typedef libtorrent::torrent_status::state_t TorrentStatusIds_t;
typedef libtorrent::torrent_status TorrentStatus_t;
typedef libtorrent::torrent_status::state_t TorrentStatusIds_t;