From 139434b40c748671c7c54b97063354e2d4db0d29 Mon Sep 17 00:00:00 2001 From: Angel Alonso Date: Fri, 1 Nov 2013 19:47:05 +0100 Subject: [PATCH] Add a key shortcut to "Add link to torrent..." "Ctrl-Shift-O" will open the "Add link to torrent..." window. --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e0dfdadf0..fad5791d1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -555,6 +555,7 @@ void MainWindow::fullDiskError(const QTorrentHandle& h, QString msg) const { void MainWindow::createKeyboardShortcuts() { actionCreate_torrent->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+N"))); actionOpen->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+O"))); + actionDownload_from_URL->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+Shift+O"))); actionExit->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+Q"))); switchTransferShortcut = new QShortcut(QKeySequence("Alt+1"), this); connect(switchTransferShortcut, SIGNAL(activated()), this, SLOT(displayTransferTab()));