diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-07 19:47:13 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-10 10:27:30 +0100 |
| commit | 183440d6949578c2c626022d42ee412919a19552 (patch) | |
| tree | 95c68be7954809ef98d1d535c928cbe5f92571c1 /src/modlistview.h | |
| parent | 1ac3f4d8e8ee7461f047d34e196df40499e89557 (diff) | |
Display mod flags on collapsed separators.
Diffstat (limited to 'src/modlistview.h')
| -rw-r--r-- | src/modlistview.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modlistview.h b/src/modlistview.h index 48e003bd..af4e83c0 100644 --- a/src/modlistview.h +++ b/src/modlistview.h @@ -173,6 +173,7 @@ protected slots: private:
friend class ModConflictIconDelegate;
+ friend class ModFlagIconDelegate;
friend class ModContentIconDelegate;
friend class ModListStyledItemDelegated;
friend class ModListViewMarkingScrollBar;
@@ -195,6 +196,11 @@ private: //
QColor markerColor(const QModelIndex& index) const;
+ // retrieve the mod flags for the given index
+ //
+ std::vector<ModInfo::EFlag> modFlags(
+ const QModelIndex& index, bool* forceCompact = nullptr) const;
+
// retrieve the conflicts flags for the given index
//
std::vector<ModInfo::EConflictFlag> conflictFlags(
|
