Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 8b0d28aa authored by Rajeesh K V's avatar Rajeesh K V

Add the default (Ctrl+n) shortcut to open new connection in KRDC

Differential Revision: https://phabricator.kde.org/D17327
parent 56a3a759
......@@ -140,6 +140,7 @@ void MainWindow::setupActions()
QAction *connectionAction = actionCollection()->addAction(QStringLiteral("new_connection"));
connectionAction->setText(i18n("New Connection"));
connectionAction->setIcon(QIcon::fromTheme(QStringLiteral("network-connect")));
actionCollection()->setDefaultShortcuts(connectionAction, KStandardShortcut::openNew());
connect(connectionAction, SIGNAL(triggered()), SLOT(newConnectionPage()));
QAction *screenshotAction = actionCollection()->addAction(QStringLiteral("take_screenshot"));
......
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