mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 22:20:53 +03:00
Add Cmd+Delete shortcut to delete a torrent (Mac OS X)
This commit is contained in:
parent
2fea7eaef2
commit
9e3deb68de
1 changed files with 4 additions and 0 deletions
|
@ -543,7 +543,11 @@ void MainWindow::createKeyboardShortcuts() {
|
|||
connect(switchRSSShortcut, SIGNAL(activated()), this, SLOT(displayRSSTab()));
|
||||
actionDocumentation->setShortcut(QKeySequence("F1"));
|
||||
actionOptions->setShortcut(QKeySequence(QString::fromUtf8("Alt+O")));
|
||||
#ifdef Q_WS_MAC
|
||||
actionDelete->setShortcut(QKeySequence("Ctrl+Backspace"));
|
||||
#else
|
||||
actionDelete->setShortcut(QKeySequence(QString::fromUtf8("Del")));
|
||||
#endif
|
||||
actionStart->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+S")));
|
||||
actionStart_All->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+Shift+S")));
|
||||
actionPause->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+P")));
|
||||
|
|
Loading…
Reference in a new issue