Browse Source

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.
adaptive-webui-19844
Vladimir Golovnev (Glassez) 4 years ago
parent
commit
09da6828b8
  1. 1
      src/base/bittorrent/session.cpp
  2. 2
      src/base/bittorrent/session.h
  3. 1
      src/base/net/reverseresolution.cpp
  4. 2
      src/base/net/reverseresolution.h

1
src/base/bittorrent/session.cpp

@ -100,7 +100,6 @@ @@ -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";

2
src/base/bittorrent/session.h

@ -50,6 +50,7 @@ @@ -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 @@ -100,7 +101,6 @@ namespace BitTorrent
class TorrentImpl;
class Tracker;
struct LoadTorrentParams;
struct TrackerEntry;
enum class MoveStorageMode;

1
src/base/net/reverseresolution.cpp

@ -28,7 +28,6 @@ @@ -28,7 +28,6 @@
#include "reverseresolution.h"
#include <QHostAddress>
#include <QHostInfo>
#include <QString>

2
src/base/net/reverseresolution.h

@ -29,9 +29,9 @@ @@ -29,9 +29,9 @@
#pragma once
#include <QCache>
#include <QHostAddress>
#include <QObject>
class QHostAddress;
class QHostInfo;
class QString;

Loading…
Cancel
Save