From 1ac3f4d8e8ee7461f047d34e196df40499e89557 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Wed, 6 Jan 2021 19:43:21 +0100 Subject: Display children contents in collapsed separator. --- src/modlist.h | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'src/modlist.h') 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 &contentIds) const; - - QString contentsToToolTip(const std::set &contentsIds) const; - ModList::EColumn getEnabledColumn(int index) const; QVariant categoryData(int categoryID, int column, int role) const; -- cgit v1.3.1