summaryrefslogtreecommitdiff
path: root/src/modlistcontextmenu.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-14 20:11:02 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-14 20:11:02 +0100
commit662a1eb3d7073166b1db3a05e34ecefd73046e3b (patch)
tree5ec144b5959b5e9d88de24d966d2b7bbd46e9520 /src/modlistcontextmenu.h
parent2c9a3c7de874a5edfdc6dacf2fd2fcd7f303152d (diff)
Contextual menu entry for enable/disable all visible.
Diffstat (limited to 'src/modlistcontextmenu.h')
-rw-r--r--src/modlistcontextmenu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modlistcontextmenu.h b/src/modlistcontextmenu.h
index 2b3f9dcd..8a6ce3df 100644
--- a/src/modlistcontextmenu.h
+++ b/src/modlistcontextmenu.h
@@ -25,6 +25,9 @@ protected:
friend class ModListContextMenu;
+ // populate the menu
+ void populate(OrganizerCore& core, ModListView* view, const QModelIndex& index);
+
// creates a "All mods" context menu for the given index (can be invalid).
ModListGlobalContextMenu(OrganizerCore& core, ModListView* view, const QModelIndex& index, QWidget* parent = nullptr);