summaryrefslogtreecommitdiff
path: root/src/modlistview.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-03 16:30:35 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-03 16:30:35 +0100
commitfbd7e777d76c2032d8c4df418e5550b14b9c2943 (patch)
treefb066683c4641c7e80579a37416c93f4fcf01a49 /src/modlistview.h
parentf7647b985b791959ecdfc9896a77fa51ac784f85 (diff)
Add option to enable/disable displaying conflicts on collapsed separators.
Diffstat (limited to 'src/modlistview.h')
-rw-r--r--src/modlistview.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modlistview.h b/src/modlistview.h
index 9712deab..faa33b6a 100644
--- a/src/modlistview.h
+++ b/src/modlistview.h
@@ -170,6 +170,7 @@ protected slots:
private:
+ friend class ModConflictIconDelegate;
friend class ModListStyledItemDelegated;
friend class ModListViewMarkingScrollBar;
@@ -191,6 +192,11 @@ private:
//
QColor markerColor(const QModelIndex& index) const;
+ // retrieve the conflicts flags for the given index
+ //
+ std::vector<ModInfo::EConflictFlag> conflictFlags(
+ const QModelIndex& index, bool* forceCompact = nullptr) const;
+
// get/set the selected items on the view, this method return/take indices
// from the mod list model, not the view, so it's safe to restore
//