Browse Source

Fix header inclusion order

adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
d476ae4f14
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 38
      src/base/bittorrent/session.cpp

38
src/base/bittorrent/session.cpp

@ -40,25 +40,6 @@ @@ -40,25 +40,6 @@
#include <iphlpapi.h>
#endif
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QHostAddress>
#include <QNetworkAddressEntry>
#include <QNetworkConfigurationManager>
#include <QNetworkInterface>
#include <QRegularExpression>
#include <QString>
#include <QThread>
#include <QTimer>
#include <QUuid>
#ifdef Q_OS_WIN
// TODO: Remove together with fixBrokenSavePath()
#define NEED_TO_FIX_BROKEN_PATH
#include <QSaveFile>
#endif
#include <libtorrent/alert_types.hpp>
#include <libtorrent/bdecode.hpp>
#include <libtorrent/bencode.hpp>
@ -78,6 +59,25 @@ @@ -78,6 +59,25 @@
#include <libtorrent/read_resume_data.hpp>
#endif
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QHostAddress>
#include <QNetworkAddressEntry>
#include <QNetworkConfigurationManager>
#include <QNetworkInterface>
#include <QRegularExpression>
#include <QString>
#include <QThread>
#include <QTimer>
#include <QUuid>
#ifdef Q_OS_WIN
// TODO: Remove together with fixBrokenSavePath()
#define NEED_TO_FIX_BROKEN_PATH
#include <QSaveFile>
#endif
#include "base/algorithm.h"
#include "base/exceptions.h"
#include "base/global.h"

Loading…
Cancel
Save