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

Add default shortcut

parent 59031b30
......@@ -1738,6 +1738,9 @@ void ViewerPrivate::createActions()
//Don't translate it.
mDevelopmentToolsAction = new QAction(QStringLiteral("Development Tools"), this);
ac->addAction(QStringLiteral("development_tools"), mDevelopmentToolsAction);
ac->setDefaultShortcut(mDevelopmentToolsAction,
QKeySequence(Qt::SHIFT + Qt::CTRL + Qt::Key_I));
connect(mDevelopmentToolsAction, &QAction::triggered, this, &ViewerPrivate::slotShowDevelopmentTools);
}
......
Markdown is supported
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