From dd2763d7258ee0a8cc088496dfa5107b8290b396 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sat, 29 Dec 2018 18:22:15 +0800 Subject: [PATCH] Forward declare TorrentHandle --- src/gui/previewselectdialog.cpp | 1 + src/gui/previewselectdialog.h | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/previewselectdialog.cpp b/src/gui/previewselectdialog.cpp index 730591c2d..07da7aec2 100644 --- a/src/gui/previewselectdialog.cpp +++ b/src/gui/previewselectdialog.cpp @@ -35,6 +35,7 @@ #include #include +#include "base/bittorrent/torrenthandle.h" #include "base/preferences.h" #include "base/utils/fs.h" #include "base/utils/misc.h" diff --git a/src/gui/previewselectdialog.h b/src/gui/previewselectdialog.h index 715643b8a..1b9e6bb47 100644 --- a/src/gui/previewselectdialog.h +++ b/src/gui/previewselectdialog.h @@ -31,12 +31,15 @@ #include -#include "base/bittorrent/torrenthandle.h" #include "base/settingvalue.h" #include "ui_previewselectdialog.h" class QStandardItemModel; +namespace BitTorrent +{ + class TorrentHandle; +} class PreviewListDelegate; class PreviewSelectDialog : public QDialog, private Ui::preview