mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-21 08:09:35 +08:00
- Improved keyboard shortcuts
This commit is contained in:
parent
99959b1aa3
commit
e916300a6e
@ -270,7 +270,7 @@ void GUI::createKeyboardShortcuts(){
|
|||||||
connect(switchDownShortcut, SIGNAL(activated()), this, SLOT(displayDownTab()));
|
connect(switchDownShortcut, SIGNAL(activated()), this, SLOT(displayDownTab()));
|
||||||
switchUpShortcut = new QShortcut(QKeySequence(tr("Alt+2", "shortcut to switch to second tab")), this);
|
switchUpShortcut = new QShortcut(QKeySequence(tr("Alt+2", "shortcut to switch to second tab")), this);
|
||||||
connect(switchUpShortcut, SIGNAL(activated()), this, SLOT(displayUpTab()));
|
connect(switchUpShortcut, SIGNAL(activated()), this, SLOT(displayUpTab()));
|
||||||
switchSearchShortcut = new QShortcut(QKeySequence(tr("Alt+3", "shortcut to switch to third tab")), this);
|
switchSearchShortcut = new QShortcut(QKeySequence(tr("Alt+3, Ctrl+F", "shortcut to switch to third tab (search)")), this);
|
||||||
connect(switchSearchShortcut, SIGNAL(activated()), this, SLOT(displaySearchTab()));
|
connect(switchSearchShortcut, SIGNAL(activated()), this, SLOT(displaySearchTab()));
|
||||||
switchRSSShortcut = new QShortcut(QKeySequence(tr("Alt+4", "shortcut to switch to fourth tab")), this);
|
switchRSSShortcut = new QShortcut(QKeySequence(tr("Alt+4", "shortcut to switch to fourth tab")), this);
|
||||||
connect(switchRSSShortcut, SIGNAL(activated()), this, SLOT(displayRSSTab()));
|
connect(switchRSSShortcut, SIGNAL(activated()), this, SLOT(displayRSSTab()));
|
||||||
|
Loading…
Reference in New Issue
Block a user