diff options
author | Chris Xiong <chirs241097@gmail.com> | 2022-10-02 19:46:19 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2022-10-02 19:46:19 -0400 |
commit | ffc70008a51db72f4cfcfbf1e82753f96cb23d95 (patch) | |
tree | 02c0566e53dfb4ab6d0150ec420a0f7b78334125 /qdeduper/mingui.hpp | |
parent | fc7f2c61537677c99f76ad301add108d9e0e96c3 (diff) | |
download | deduper-ffc70008a51db72f4cfcfbf1e82753f96cb23d95.tar.xz |
Implement toolbar customization.
Diffstat (limited to 'qdeduper/mingui.hpp')
-rw-r--r-- | qdeduper/mingui.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qdeduper/mingui.hpp b/qdeduper/mingui.hpp index 19db256..0fc191f 100644 --- a/qdeduper/mingui.hpp +++ b/qdeduper/mingui.hpp @@ -60,6 +60,7 @@ private: QListView *lv; QToolBar *tb = nullptr; std::map<std::string, QAction*> menuact; + std::vector<std::string> actionlist; QList<QAction*> selhk; QStandardItemModel *im = nullptr; ImageItemDelegate *id = nullptr; @@ -112,6 +113,7 @@ public Q_SLOTS: void show_marked(); void apply_prefs(); void update_memusg(); + void register_action(const std::string &actn, QAction *act); Q_SIGNALS: void next(); void prev(); |