mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 18:04:32 +00:00
Use complete types in container declarations
Qt 6 disallows to use incomplete types in container declarations in some cases, e.g. in parameters of signals/slots.
This commit is contained in:
parent
9f386afe9c
commit
09da6828b8
@ -100,7 +100,6 @@
|
|||||||
#include "statistics.h"
|
#include "statistics.h"
|
||||||
#include "torrentimpl.h"
|
#include "torrentimpl.h"
|
||||||
#include "tracker.h"
|
#include "tracker.h"
|
||||||
#include "trackerentry.h"
|
|
||||||
|
|
||||||
static const char PEER_ID[] = "qB";
|
static const char PEER_ID[] = "qB";
|
||||||
static const char RESUME_FOLDER[] = "BT_backup";
|
static const char RESUME_FOLDER[] = "BT_backup";
|
||||||
|
@ -50,6 +50,7 @@
|
|||||||
#include "cachestatus.h"
|
#include "cachestatus.h"
|
||||||
#include "sessionstatus.h"
|
#include "sessionstatus.h"
|
||||||
#include "torrentinfo.h"
|
#include "torrentinfo.h"
|
||||||
|
#include "trackerentry.h"
|
||||||
|
|
||||||
class QFile;
|
class QFile;
|
||||||
class QNetworkConfiguration;
|
class QNetworkConfiguration;
|
||||||
@ -100,7 +101,6 @@ namespace BitTorrent
|
|||||||
class TorrentImpl;
|
class TorrentImpl;
|
||||||
class Tracker;
|
class Tracker;
|
||||||
struct LoadTorrentParams;
|
struct LoadTorrentParams;
|
||||||
struct TrackerEntry;
|
|
||||||
|
|
||||||
enum class MoveStorageMode;
|
enum class MoveStorageMode;
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
|
|
||||||
#include "reverseresolution.h"
|
#include "reverseresolution.h"
|
||||||
|
|
||||||
#include <QHostAddress>
|
|
||||||
#include <QHostInfo>
|
#include <QHostInfo>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
@ -29,9 +29,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QCache>
|
#include <QCache>
|
||||||
|
#include <QHostAddress>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
class QHostAddress;
|
|
||||||
class QHostInfo;
|
class QHostInfo;
|
||||||
class QString;
|
class QString;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user