diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-06 19:43:21 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-10 10:27:22 +0100 |
| commit | 1ac3f4d8e8ee7461f047d34e196df40499e89557 (patch) | |
| tree | 803e663c2da154d0d48a4f284185b37c53e0b2f2 /src/modlist.h | |
| parent | 76796796bec37a1670cfc4e0b1e42e7b1096b237 (diff) | |
Display children contents in collapsed separator.
Diffstat (limited to 'src/modlist.h')
| -rw-r--r-- | src/modlist.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/modlist.h b/src/modlist.h index 1d94749c..5c7f28ee 100644 --- a/src/modlist.h +++ b/src/modlist.h @@ -69,19 +69,14 @@ public: // grouping I assume?)
AggrRole = Qt::UserRole + 2,
- // data(ContentsRole) contains mod data contents as a QVariantList
- // containing icon paths
- ContentsRole = Qt::UserRole + 3,
-
- GameNameRole = Qt::UserRole + 4,
-
- PriorityRole = Qt::UserRole + 5,
+ GameNameRole = Qt::UserRole + 3,
+ PriorityRole = Qt::UserRole + 4,
// marking role for the scrollbar
- ScrollMarkRole = Qt::UserRole + 6,
+ ScrollMarkRole = Qt::UserRole + 5,
// this is the first available role
- ModUserRole = Qt::UserRole + 7
+ ModUserRole = Qt::UserRole + 6
};
enum EColumn {
@@ -354,10 +349,6 @@ private: QString getColumnToolTip(int column) const;
- QVariantList contentsToIcons(const std::set<int> &contentIds) const;
-
- QString contentsToToolTip(const std::set<int> &contentsIds) const;
-
ModList::EColumn getEnabledColumn(int index) const;
QVariant categoryData(int categoryID, int column, int role) const;
|
