summaryrefslogtreecommitdiff
path: root/src/modlistview.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-03 01:50:45 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-03 01:50:45 +0100
commit098ea31a1d848205ffc2a801432b2717aa876d97 (patch)
tree2585b9df2adfc60e12067618d3bca2545a06e9ae /src/modlistview.h
parente96a1f3ced974b5d1b02907bf9feabca97d2baa9 (diff)
Update documentation for drawBranches.
Diffstat (limited to 'src/modlistview.h')
-rw-r--r--src/modlistview.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/modlistview.h b/src/modlistview.h
index b7d641ea..2aa48140 100644
--- a/src/modlistview.h
+++ b/src/modlistview.h
@@ -85,10 +85,6 @@ public:
bool isModVisible(unsigned int index) const;
bool isModVisible(ModInfo::Ptr mod) const;
- // re-implemented to fix indentation with collapsible separators
- //
- QRect visualRect(const QModelIndex& index) const override;
-
// refresh the view (to call when settings have been changed)
//
void refresh();
@@ -155,6 +151,9 @@ protected:
bool toggleSelectionState();
bool copySelection();
+ // re-implemented to fix indentation with collapsible separators
+ //
+ QRect visualRect(const QModelIndex& index) const override;
void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const override;
void timerEvent(QTimerEvent* event) override;