1
mirror of https://github.com/qbittorrent/qBittorrent synced 2024-09-28 16:12:07 +02: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(minZlibVersion 1.2.11)
include(CheckCXXSourceCompiles) # TODO: migrate to CheckSourceCompiles in CMake >= 3.19
include(GNUInstallDirs)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)

View File

@ -32,7 +32,6 @@
#include <QtContainerFwd>
#include <QHash>
#include <QMap>
#include <QString>
#include <QStringView>
@ -63,8 +62,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;