mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07: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()));
|
connect(switchRSSShortcut, SIGNAL(activated()), this, SLOT(displayRSSTab()));
|
||||||
actionDocumentation->setShortcut(QKeySequence("F1"));
|
actionDocumentation->setShortcut(QKeySequence("F1"));
|
||||||
actionOptions->setShortcut(QKeySequence(QString::fromUtf8("Alt+O")));
|
actionOptions->setShortcut(QKeySequence(QString::fromUtf8("Alt+O")));
|
||||||
|
#ifdef Q_WS_MAC
|
||||||
|
actionDelete->setShortcut(QKeySequence("Ctrl+Backspace"));
|
||||||
|
#else
|
||||||
actionDelete->setShortcut(QKeySequence(QString::fromUtf8("Del")));
|
actionDelete->setShortcut(QKeySequence(QString::fromUtf8("Del")));
|
||||||
|
#endif
|
||||||
actionStart->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+S")));
|
actionStart->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+S")));
|
||||||
actionStart_All->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+Shift+S")));
|
actionStart_All->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+Shift+S")));
|
||||||
actionPause->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+P")));
|
actionPause->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+P")));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue