Skip to content

Commit

Permalink
Fix header inclusion order
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 authored and sledgehammer999 committed Apr 22, 2020
1 parent 35f8af3 commit 2a3e649
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions src/base/bittorrent/session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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"
Expand Down

0 comments on commit 2a3e649

Please sign in to comment.