mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 22:22:33 -06:00
Use default delegate for PeerListWidget
Removes the usage of QItemDelegate
This commit is contained in:
@@ -58,6 +58,26 @@ class PeerListWidget final : public QTreeView
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
enum PeerListColumns
|
||||
{
|
||||
COUNTRY,
|
||||
IP,
|
||||
PORT,
|
||||
CONNECTION,
|
||||
FLAGS,
|
||||
CLIENT,
|
||||
PROGRESS,
|
||||
DOWN_SPEED,
|
||||
UP_SPEED,
|
||||
TOT_DOWN,
|
||||
TOT_UP,
|
||||
RELEVANCE,
|
||||
DOWNLOADING_PIECE,
|
||||
IP_HIDDEN,
|
||||
|
||||
COL_COUNT
|
||||
};
|
||||
|
||||
explicit PeerListWidget(PropertiesWidget *parent);
|
||||
~PeerListWidget() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user