diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-01 18:00:41 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:19 +0100 |
| commit | 8a789d303b22a7ac0d0a2b179b2500478eb29a46 (patch) | |
| tree | 2ca5e1854b3624040d56715fc47a5a79369e7c4f /src/modlistcontextmenu.h | |
| parent | 011e4d522ed7b0df52cdeb014608e9881f8bc76b (diff) | |
Remove duplicated code.
Diffstat (limited to 'src/modlistcontextmenu.h')
| -rw-r--r-- | src/modlistcontextmenu.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/modlistcontextmenu.h b/src/modlistcontextmenu.h index aa9d4c2b..565aac97 100644 --- a/src/modlistcontextmenu.h +++ b/src/modlistcontextmenu.h @@ -80,9 +80,13 @@ public: private: - // create the "Send to... " context menu + // adds the "Send to... " context menu // - QMenu* createSendToContextMenu(); + void addSendToContextMenu(); + + // adds the categories menu (change/primary) + // + void addCategoryContextMenus(ModInfo::Ptr mod); // special menu for categories // |
