From f5fc1884b21a0846f77e21f6ce67ef5b5e919caf Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 22 Nov 2009 10:08:03 +0000 Subject: [PATCH] - Show official documentation when pressing F1 key --- Changelog | 1 + src/GUI.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/Changelog b/Changelog index 57c85dff2..38234bbd9 100644 --- a/Changelog +++ b/Changelog @@ -20,6 +20,7 @@ - FEATURE: Added option to download first and last piece of a torrent main file first (for preview) - FEATURE: Graphically display piece availability in torrent properties - FEATURE: Dropped Qt 4.3 support (Qt >= 4.4 is now required) + - FEATURE: Show official documentation when pressing F1 key - FEATURE: Added per-torrent super seeding mode (libtorrent >= v0.15 only) - FEATURE: Support for storing symbolic links in .torrent files (libtorrent >= v0.15 only) - FEATURE: Support for uTorrent interpretation of multi-tracker torrents (libtorrent >= v0.15 only) diff --git a/src/GUI.cpp b/src/GUI.cpp index 186734d44..1850b3f2a 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -298,6 +298,7 @@ void GUI::createKeyboardShortcuts() { connect(switchSearchShortcut2, SIGNAL(activated()), this, SLOT(displaySearchTab())); switchRSSShortcut = new QShortcut(QKeySequence(tr("Alt+3", "shortcut to switch to fourth tab")), this); connect(switchRSSShortcut, SIGNAL(activated()), this, SLOT(displayRSSTab())); + actionDocumentation->setShortcut(QKeySequence("F1")); actionOptions->setShortcut(QKeySequence(QString::fromUtf8("Alt+O"))); actionDelete->setShortcut(QKeySequence(QString::fromUtf8("Del"))); actionStart->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+S")));