Commit f0ec740c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix warning. Use setDefaultShortcut

parent 194a1669
......@@ -436,8 +436,8 @@ void MainWindow::setupActions()
"Allows you to show or hide the component sidebar as desired."));
actionCollection()->addAction(QStringLiteral("hide_show_sidebar"), mShowHideAction);
actionCollection()->setDefaultShortcut(mShowHideAction, QKeySequence(Qt::Key_F9));
connect(mShowHideAction, &QAction::triggered, this, &MainWindow::slotShowHideSideBar);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment