From 925962b33719f0c639a4fc4004826720cc90a1ed Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 19 Sep 2022 11:17:36 -0400 Subject: Add skip to group to toolbar. --- qdeduper/mingui.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() -- cgit v1.2.3