X-Git-Url: http://git.maemo.org/git/?p=qtrapids;a=blobdiff_plain;f=src%2Finclude%2Fqtrapids%2Finfo.hpp;fp=src%2Finclude%2Fqtrapids%2Finfo.hpp;h=f94467740e925e89093c5d95dbbd2749c14e34ca;hp=6265155d6fd2dfa8244e2de03da5d1dba6395c06;hb=c47e7b47ba063d8915e6cc5df4ffee82318023ed;hpb=06410091b1e07c443849f0fe71050654c6fb9710 diff --git a/src/include/qtrapids/info.hpp b/src/include/qtrapids/info.hpp index 6265155..f944677 100644 --- a/src/include/qtrapids/info.hpp +++ b/src/include/qtrapids/info.hpp @@ -9,7 +9,9 @@ namespace qtrapids { - static const uint32_t torrent_progress_max = std::numeric_limits::max(); + static const uint32_t torrent_progress_max = 1000000; + static const uint32_t torrent_progress_percent = 10000; + //std::numeric_limits::max(); typedef libtorrent::torrent_status TorrentStatus_t; typedef libtorrent::torrent_status::state_t TorrentStatusIds_t;