mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
commit
502b3d3228
2 changed files with 1 additions and 4 deletions
|
@ -14,7 +14,6 @@ set(minLibtorrent1Version 1.2.19)
|
||||||
set(minLibtorrentVersion 2.0.9)
|
set(minLibtorrentVersion 2.0.9)
|
||||||
set(minZlibVersion 1.2.11)
|
set(minZlibVersion 1.2.11)
|
||||||
|
|
||||||
include(CheckCXXSourceCompiles) # TODO: migrate to CheckSourceCompiles in CMake >= 3.19
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
|
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
|
|
||||||
#include <QtContainerFwd>
|
#include <QtContainerFwd>
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QMap>
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QStringView>
|
#include <QStringView>
|
||||||
|
|
||||||
|
@ -63,8 +62,7 @@ namespace BitTorrent
|
||||||
QString url {};
|
QString url {};
|
||||||
int tier = 0;
|
int tier = 0;
|
||||||
|
|
||||||
// TODO: Use QHash<TrackerEntry::Endpoint, QHash<int, EndpointStats>> once Qt5 is dropped.
|
QHash<Endpoint, QHash<int, EndpointStats>> stats {};
|
||||||
QMap<Endpoint, QHash<int, EndpointStats>> stats {};
|
|
||||||
|
|
||||||
// Deprecated fields
|
// Deprecated fields
|
||||||
Status status = NotContacted;
|
Status status = NotContacted;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue