diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-31 18:59:52 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-31 18:59:52 +0100 |
| commit | ab0e050c466f1f69d8f3c8aa366e471c29a26cb2 (patch) | |
| tree | e475f062938dd2f5bbd04ff74ae874ca391906ae /src/downloadlist.h | |
| parent | 4ea7f7bf545d723cfedad269512e6a3f3f150a5b (diff) | |
Fix download of meta-information in download tab.
Diffstat (limited to 'src/downloadlist.h')
| -rw-r--r-- | src/downloadlist.h | 16 |
1 files changed, 5 insertions, 11 deletions
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 <http://www.gnu.org/licenses/>. #include <QAbstractTableModel>
+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
|
