diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2021-01-11 12:49:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-11 12:49:42 +0100 |
| commit | 1dc2b225485a073d82e08a9820493086b2dda8b8 (patch) | |
| tree | 5a4e5478d577f065c7282cb62992c2b6c735e13f /src/modlist.h | |
| parent | a680dfa3e94b34bf6b0ebd65d29d7a9799e3183f (diff) | |
| parent | 05efc74e402ca3770d9fdaa2557f4030c31ee198 (diff) | |
Merge pull request #1350 from Holt59/collapsible-separators
Collapsible separators - Fix & Improvements.
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;
|
