mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-05 20:51:25 -07:00
Switch to QHash
This commit is contained in:
parent
44f0a63354
commit
870bcc7a19
1 changed files with 1 additions and 3 deletions
|
@ -33,7 +33,6 @@
|
|||
#include <QtContainerFwd>
|
||||
#include <QtGlobal>
|
||||
#include <QHash>
|
||||
#include <QMap>
|
||||
#include <QString>
|
||||
#include <QStringView>
|
||||
|
||||
|
@ -64,8 +63,7 @@ namespace BitTorrent
|
|||
QString url {};
|
||||
int tier = 0;
|
||||
|
||||
// TODO: Use QHash<TrackerEntry::Endpoint, QHash<int, EndpointStats>> once Qt5 is dropped.
|
||||
QMap<Endpoint, QHash<int, EndpointStats>> stats {};
|
||||
QHash<Endpoint, QHash<int, EndpointStats>> stats {};
|
||||
|
||||
// Deprecated fields
|
||||
Status status = NotContacted;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue