From cf1bbdd13e0db8856df672c367d3ec1610f6c556 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Mon, 25 May 2020 19:53:21 +0200 Subject: Switch to using the ModDataContent feature from the game plugin. --- src/modlist.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modlist.h') diff --git a/src/modlist.h b/src/modlist.h index 4d456a9a..2abda076 100644 --- a/src/modlist.h +++ b/src/modlist.h @@ -20,7 +20,7 @@ along with Mod Organizer. If not, see . #ifndef MODLIST_H #define MODLIST_H - +#include "moddatacontent.h" #include "categories.h" #include "nexusinterface.h" #include "modinfo.h" @@ -42,6 +42,7 @@ along with Mod Organizer. If not, see . class QSortFilterProxyModel; class PluginContainer; +class OrganizerCore; /** * Model presenting an overview of the installed mod @@ -78,7 +79,7 @@ public: * @brief constructor * @todo ensure this view works without a profile set, otherwise there are intransparent dependencies on the initialisation order **/ - ModList(PluginContainer *pluginContainer, QObject *parent = nullptr); + ModList(PluginContainer *pluginContainer, OrganizerCore *parent = nullptr); ~ModList(); @@ -284,9 +285,9 @@ private: static QString getColumnToolTip(int column); - QVariantList contentsToIcons(const std::vector &content) const; + QVariantList contentsToIcons(const std::vector &contentIds) const; - QString contentsToToolTip(const std::vector &contents) const; + QString contentsToToolTip(const std::vector &contentsIds) const; ModList::EColumn getEnabledColumn(int index) const; @@ -328,6 +329,7 @@ private: private: + OrganizerCore *m_Organizer; Profile *m_Profile; NexusInterface *m_NexusInterface; @@ -352,8 +354,6 @@ private: SignalModStateChanged m_ModStateChanged; SignalModMoved m_ModMoved; - std::map > m_ContentIcons; - QElapsedTimer m_LastCheck; PluginContainer *m_PluginContainer; -- cgit v1.3.1