Refactor code

Remove forward declarations of Qt types.
Fix header include order.
This commit is contained in:
Chocobo1
2018-05-08 12:11:00 +08:00
committed by sledgehammer999
parent 0704c0f5e6
commit 0c96e79d0d
5 changed files with 28 additions and 30 deletions

View File

@@ -26,20 +26,20 @@
* exception statement from your version.
*/
#include <QDebug>
#include <QString>
#include <QList>
#include <QUrl>
#include <QDateTime>
#include "torrentinfo.h"
#include <libtorrent/error_code.hpp>
#include <QDebug>
#include <QString>
#include <QUrl>
#include <QDateTime>
#include "base/utils/misc.h"
#include "base/utils/fs.h"
#include "base/utils/string.h"
#include "infohash.h"
#include "trackerentry.h"
#include "torrentinfo.h"
namespace libt = libtorrent;
using namespace BitTorrent;