mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-09 22:37:59 +00:00
commit
502b3d3228
@ -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…
Reference in New Issue
Block a user