summaryrefslogtreecommitdiff
path: root/src/modinfodialog.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-06-16 21:49:57 +0200
committerTannin <devnull@localhost>2014-06-16 21:49:57 +0200
commit484749e612489336e5bfbe50ddc3cbe307069d4c (patch)
tree296dc49d05a82c4b331f734ef1caa906a0dc5162 /src/modinfodialog.h
parent6d3f88b330f680459146ff1304c4752ffdbd1263 (diff)
- 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
Diffstat (limited to 'src/modinfodialog.h')
-rw-r--r--src/modinfodialog.h7
1 files changed, 5 insertions, 2 deletions
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<int> &enabledCategories, QTreeWidgetItem *root, int rootLevel);
@@ -225,7 +229,6 @@ private:
const MOShared::DirectoryEntry *m_Directory;
MOShared::FilesOrigin *m_Origin;
- QTextCodec *m_UTF8Codec;
std::map<int, int> m_RealTabPos;