1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 22:37:59 +00:00

Merge pull request #19427 from Chocobo1/cleanup

Remove unused include
This commit is contained in:
Chocobo1 2023-08-11 13:49:35 +08:00 committed by GitHub
commit 502b3d3228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -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)

View File

@ -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;