Browse Source

Rearreange header includes in Peerlist widget.

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
734301326b
  1. 3
      src/properties/peerlistwidget.cpp
  2. 13
      src/properties/peerlistwidget.h

3
src/properties/peerlistwidget.cpp

@ -30,6 +30,7 @@ @@ -30,6 +30,7 @@
#include "peerlistwidget.h"
#include "peerlistdelegate.h"
#include "peerlistsortmodel.h"
#include "reverseresolution.h"
#include "preferences.h"
#include "propertieswidget.h"
@ -37,6 +38,7 @@ @@ -37,6 +38,7 @@
#include "peeraddition.h"
#include "speedlimitdlg.h"
#include "iconprovider.h"
#include "qtorrenthandle.h"
#include <QStandardItemModel>
#include <QSortFilterProxyModel>
#include <QSet>
@ -44,6 +46,7 @@ @@ -44,6 +46,7 @@
#include <QMenu>
#include <QClipboard>
#include <vector>
#include <libtorrent/peer_info.hpp>
using namespace libtorrent;

13
src/properties/peerlistwidget.h

@ -35,14 +35,13 @@ @@ -35,14 +35,13 @@
#include <QHash>
#include <QPointer>
#include <QSet>
#include <libtorrent/peer_info.hpp>
#include "peerlistsortmodel.h"
#include "qtorrenthandle.h"
#include "misc.h"
#include <libtorrent/version.hpp>
class PeerListDelegate;
class PeerListSortModel;
class ReverseResolution;
class PropertiesWidget;
class QTorrentHandle;
QT_BEGIN_NAMESPACE
class QSortFilterProxyModel;
@ -50,6 +49,12 @@ class QStandardItem; @@ -50,6 +49,12 @@ class QStandardItem;
class QStandardItemModel;
QT_END_NAMESPACE
namespace libtorrent
{
struct peer_info;
struct torrent_status;
}
#include <boost/version.hpp>
#if BOOST_VERSION < 103500
#include <libtorrent/asio/ip/tcp.hpp>

Loading…
Cancel
Save