mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 06:32:29 -06:00
Allow to sort peer list either by country or by IP
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include <QPointer>
|
||||
#include <QSet>
|
||||
#include <libtorrent/peer_info.hpp>
|
||||
#include "peerlistsortmodel.h"
|
||||
#include "qtorrenthandle.h"
|
||||
#include "misc.h"
|
||||
|
||||
@@ -88,7 +89,7 @@ private:
|
||||
private:
|
||||
QStandardItemModel *m_listModel;
|
||||
PeerListDelegate *m_listDelegate;
|
||||
QSortFilterProxyModel *m_proxyModel;
|
||||
PeerListSortModel *m_proxyModel;
|
||||
QHash<QString, QStandardItem*> m_peerItems;
|
||||
QHash<QString, boost::asio::ip::tcp::endpoint> m_peerEndpoints;
|
||||
QSet<QString> m_missingFlags;
|
||||
|
||||
Reference in New Issue
Block a user