Skip to content

Commit

Permalink
Add filter shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
tohammer committed Nov 8, 2023
1 parent 63bb52c commit 47acbc1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,12 @@ void MainWindow::initView()
applyConfig->setShortcut(Qt::Key_C | Qt::SHIFT | Qt::CTRL);
connect(applyConfig, SIGNAL(triggered()), this, SLOT(on_applyConfig_clicked()));
addAction(applyConfig);

/* Add shortcut to add filter */
QAction *addFilter = new QAction(this);
addFilter->setShortcut(Qt::Key_A | Qt::SHIFT | Qt::CTRL);
connect(addFilter, SIGNAL(triggered()), this, SLOT(on_action_menuFilter_Add_triggered()));
addAction(addFilter);
}

void MainWindow::initSignalConnections()
Expand Down

0 comments on commit 47acbc1

Please sign in to comment.