mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 10:46:15 +03: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
4 changed files with 2 additions and 4 deletions
|
@ -100,7 +100,6 @@
|
|||
#include "statistics.h"
|
||||
#include "torrentimpl.h"
|
||||
#include "tracker.h"
|
||||
#include "trackerentry.h"
|
||||
|
||||
static const char PEER_ID[] = "qB";
|
||||
static const char RESUME_FOLDER[] = "BT_backup";
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
#include "cachestatus.h"
|
||||
#include "sessionstatus.h"
|
||||
#include "torrentinfo.h"
|
||||
#include "trackerentry.h"
|
||||
|
||||
class QFile;
|
||||
class QNetworkConfiguration;
|
||||
|
@ -100,7 +101,6 @@ namespace BitTorrent
|
|||
class TorrentImpl;
|
||||
class Tracker;
|
||||
struct LoadTorrentParams;
|
||||
struct TrackerEntry;
|
||||
|
||||
enum class MoveStorageMode;
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
#include "reverseresolution.h"
|
||||
|
||||
#include <QHostAddress>
|
||||
#include <QHostInfo>
|
||||
#include <QString>
|
||||
|
||||
|
|
|
@ -29,9 +29,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <QCache>
|
||||
#include <QHostAddress>
|
||||
#include <QObject>
|
||||
|
||||
class QHostAddress;
|
||||
class QHostInfo;
|
||||
class QString;
|
||||
|
||||
|
|
Loading…
Reference in a new issue