diff options
author | Chris Xiong <chirs241097@gmail.com> | 2022-09-19 11:17:36 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2022-09-19 11:17:36 -0400 |
commit | 925962b33719f0c639a4fc4004826720cc90a1ed (patch) | |
tree | cf16e363d30ea571ee424abb72e5e8960ddcc15c | |
parent | 64571c7b4dd72fecf6551029ac03079908867b92 (diff) | |
download | deduper-925962b33719f0c639a4fc4004826720cc90a1ed.tar.xz |
Add skip to group to toolbar.
-rw-r--r-- | qdeduper/mingui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qdeduper/mingui.cpp b/qdeduper/mingui.cpp index 8811feb..ee4f013 100644 --- a/qdeduper/mingui.cpp +++ b/qdeduper/mingui.cpp @@ -202,6 +202,7 @@ void DeduperMainWindow::setup_menu() this->addAction(prvgrp); QAction *skip = view->addAction("Skip to Group..."); + skip->setIcon(this->style()->standardIcon(QStyle::StandardPixmap::SP_ArrowUp)); menuact["skip_group"] = skip; skip->setShortcut(QKeySequence(Qt::Key::Key_B)); QObject::connect(skip, &QAction::triggered, [this] { @@ -233,6 +234,7 @@ void DeduperMainWindow::setup_menu() this->addToolBar(tb); tb->addAction(prvgrp); tb->addAction(nxtgrp); + tb->addAction(skip); tb->setToolButtonStyle(Qt::ToolButtonStyle::ToolButtonTextBesideIcon); } void DeduperMainWindow::update_actions() |