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

13
src/properties/peerlistwidget.h

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

Loading…
Cancel
Save