mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
BUGFIX: Fix compilation with namespaced Qt (Christian Kandeler)
This commit is contained in:
@@ -39,13 +39,16 @@
|
||||
#include "qtorrenthandle.h"
|
||||
#include "misc.h"
|
||||
|
||||
class QStandardItemModel;
|
||||
class QStandardItem;
|
||||
class QSortFilterProxyModel;
|
||||
class PeerListDelegate;
|
||||
class ReverseResolution;
|
||||
class PropertiesWidget;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QSortFilterProxyModel;
|
||||
class QStandardItem;
|
||||
class QStandardItemModel;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include <boost/version.hpp>
|
||||
#if BOOST_VERSION < 103500
|
||||
#include <libtorrent/asio/ip/tcp.hpp>
|
||||
|
||||
@@ -37,10 +37,8 @@
|
||||
|
||||
|
||||
class TransferListWidget;
|
||||
class QTimer;
|
||||
class TorrentFilesFilterModel;
|
||||
class PropListDelegate;
|
||||
class QAction;
|
||||
class torrent_file;
|
||||
class PeerListWidget;
|
||||
class TrackerList;
|
||||
@@ -50,6 +48,11 @@ class PieceAvailabilityBar;
|
||||
class PropTabBar;
|
||||
class LineEdit;
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QAction;
|
||||
class QTimer;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class PropertiesWidget : public QWidget, private Ui::PropertiesWidget {
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(PropertiesWidget)
|
||||
|
||||
@@ -33,7 +33,9 @@
|
||||
|
||||
#include <QHBoxLayout>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QButtonGroup;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class PropTabBar : public QHBoxLayout
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user