From ffc70008a51db72f4cfcfbf1e82753f96cb23d95 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 2 Oct 2022 19:46:19 -0400 Subject: Implement toolbar customization. --- qdeduper/mingui.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qdeduper/mingui.hpp') 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 menuact; + std::vector actionlist; QList 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(); -- cgit v1.2.3