Allow to sort peer list either by country or by IP

This commit is contained in:
Nick Tiskov
2013-07-05 17:29:07 +04:00
parent b486d419dc
commit ba014d0033
5 changed files with 83 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ class PeerListDelegate: public QItemDelegate {
Q_OBJECT
public:
enum PeerListColumns {IP, CONNECTION, FLAGS, CLIENT, PROGRESS, DOWN_SPEED, UP_SPEED,
enum PeerListColumns {COUNTRY, IP, CONNECTION, FLAGS, CLIENT, PROGRESS, DOWN_SPEED, UP_SPEED,
TOT_DOWN, TOT_UP, IP_HIDDEN, COL_COUNT};
public: