Browse Source

Add Cmd+Delete shortcut to delete a torrent (Mac OS X)

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
9e3deb68de
  1. 4
      src/mainwindow.cpp

4
src/mainwindow.cpp

@ -543,7 +543,11 @@ void MainWindow::createKeyboardShortcuts() { @@ -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…
Cancel
Save