From aaed5f7fe0dc42029eb2cac487b0fc2b98a16c4a Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 26 Apr 2019 03:02:47 +0800 Subject: [PATCH] Remove unused headers --- src/base/bittorrent/session.cpp | 15 +++++---------- src/base/bittorrent/session.h | 6 +----- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index 5a88763fc..257ed3232 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -34,13 +34,16 @@ #include #include -#include +#ifdef Q_OS_WIN +#include +#include +#endif + #include #include #include #include #include -#include #include #include #include @@ -50,12 +53,10 @@ #include #include #include -#include #include #include #include #include -#include #include #include #include @@ -78,7 +79,6 @@ #include "base/utils/misc.h" #include "base/utils/net.h" #include "base/utils/random.h" -#include "base/utils/string.h" #include "magneturi.h" #include "private/bandwidthscheduler.h" #include "private/filterparserthread.h" @@ -89,11 +89,6 @@ #include "tracker.h" #include "trackerentry.h" -#ifdef Q_OS_WIN -#include -#include -#endif - #if defined(Q_OS_WIN) && (_WIN32_WINNT < 0x0600) using NETIO_STATUS = LONG; #endif diff --git a/src/base/bittorrent/session.h b/src/base/bittorrent/session.h index 89d0179a9..87c8ec890 100644 --- a/src/base/bittorrent/session.h +++ b/src/base/bittorrent/session.h @@ -36,13 +36,9 @@ #include #include #include -#include #include #include #include -#include -#include -#include #include "base/settingvalue.h" #include "base/tristatebool.h" @@ -55,8 +51,8 @@ class QThread; class QTimer; -class QStringList; class QString; +class QStringList; class QUrl; class FilterParserThread;