From 484749e612489336e5bfbe50ddc3cbe307069d4c Mon Sep 17 00:00:00 2001 From: Tannin Date: Mon, 16 Jun 2014 21:49:57 +0200 Subject: - added pseudo-categories to filter for mo-managed vs. unmanaged mods - deleted mods are now moved to the recycle bin instead of being deleted permanently - reduced modinfo dialog for foreign mods - foreign mods are now displayed with a pseudo-category - added a signal when a plugin is moved - bugfix: refreshing of directory structure for mods with bsas didn't work correctly when enabling a mod and on changing display of foreign mods - bugfix: one mod in the list was assigned the same priority on the directory structure as the data directory - bugfix: conflicts tab in the mod info dialog offered the hide option for files in bsas --- src/modinfodialog.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/modinfodialog.h') diff --git a/src/modinfodialog.h b/src/modinfodialog.h index edfe59cf..63875b70 100644 --- a/src/modinfodialog.h +++ b/src/modinfodialog.h @@ -65,6 +65,7 @@ public: TAB_CONFLICTS, TAB_CATEGORIES, TAB_NEXUS, + TAB_NOTES, TAB_FILETREE }; @@ -76,7 +77,7 @@ public: * @param modInfo info structure about the mod to display * @param parent parend widget **/ - explicit ModInfoDialog(ModInfo::Ptr modInfo, const MOShared::DirectoryEntry *directory, QWidget *parent = 0); + explicit ModInfoDialog(ModInfo::Ptr modInfo, const MOShared::DirectoryEntry *directory, bool unmanaged, QWidget *parent = 0); ~ModInfoDialog(); /** @@ -121,6 +122,9 @@ public slots: private: + void initFiletree(ModInfo::Ptr modInfo); + void initINITweaks(); + void refreshLists(); void addCategories(const CategoryFactory &factory, const std::set &enabledCategories, QTreeWidgetItem *root, int rootLevel); @@ -225,7 +229,6 @@ private: const MOShared::DirectoryEntry *m_Directory; MOShared::FilesOrigin *m_Origin; - QTextCodec *m_UTF8Codec; std::map m_RealTabPos; -- cgit v1.3.1