From ab0e050c466f1f69d8f3c8aa366e471c29a26cb2 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Sun, 31 Jan 2021 18:59:52 +0100 Subject: Fix download of meta-information in download tab. --- src/downloadlist.h | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'src/downloadlist.h') diff --git a/src/downloadlist.h b/src/downloadlist.h index 65d03ab9..cec8b6b0 100644 --- a/src/downloadlist.h +++ b/src/downloadlist.h @@ -22,7 +22,9 @@ along with Mod Organizer. If not, see . #include +class OrganizerCore; class DownloadManager; +class Settings; /** @@ -51,15 +53,7 @@ public: public: - /** - * @brief constructor - * - * @param manager the download manager processing downloads - * @param parent parent object Defaults to 0. - **/ - explicit DownloadList(DownloadManager *manager, QObject *parent = 0); - - void setMetaDisplay(bool metaDisplay); + explicit DownloadList(OrganizerCore& core, QObject *parent = 0); /** * @brief retrieve the number of rows to display. Invoked by Qt @@ -103,8 +97,8 @@ public slots: private: - DownloadManager *m_Manager; - bool m_MetaDisplay; + DownloadManager& m_manager; + Settings& m_settings; }; #endif // DOWNLOADLIST_H -- cgit v1.3.1