summaryrefslogtreecommitdiff
path: root/src/viewmarkingscrollbar.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 20:26:39 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 20:26:39 +0100
commit8de7b79a2b211805a4ba348e490a7ab8eac15eef (patch)
tree98dae2b10b0d4cd368fcc3346fefaffa73df1242 /src/viewmarkingscrollbar.h
parentd96dcf02b131808a25045afc23667ed6a26274a6 (diff)
Move markers management for overwrite/overwritten to ModListView.
Diffstat (limited to 'src/viewmarkingscrollbar.h')
-rw-r--r--src/viewmarkingscrollbar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/viewmarkingscrollbar.h b/src/viewmarkingscrollbar.h
index 6947a018..01b5a8c0 100644
--- a/src/viewmarkingscrollbar.h
+++ b/src/viewmarkingscrollbar.h
@@ -13,6 +13,10 @@ public:
protected:
void paintEvent(QPaintEvent *event) override;
+ // retrieve the color of the marker for the given index
+ //
+ virtual QColor color(const QModelIndex& index) const;
+
private:
QTreeView* m_view;
int m_role;