Fix sorting of ETA column when having infinite values (closes #583347)

This commit is contained in:
Christophe Dumez
2010-05-21 11:47:55 +00:00
parent dd9cf6c3ab
commit 1e67f0afa4
4 changed files with 9 additions and 6 deletions

View File

@@ -40,6 +40,8 @@
#include <QPoint>
#include <libtorrent/torrent_info.hpp>
const qlonglong MAX_ETA = 8640000;
using namespace libtorrent;
/* Miscellaneaous functions that can be useful */