Add ctrl+l as shortcut to move the focus to the search entry
This commit is contained in:
parent
922f73039a
commit
12c6b8f210
@ -279,6 +279,9 @@ void RclMain::init()
|
|||||||
QKeySequence seq("Ctrl+Shift+s");
|
QKeySequence seq("Ctrl+Shift+s");
|
||||||
QShortcut *sc = new QShortcut(seq, this);
|
QShortcut *sc = new QShortcut(seq, this);
|
||||||
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
||||||
|
QKeySequence seql("Ctrl+l");
|
||||||
|
sc = new QShortcut(seql, this);
|
||||||
|
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
||||||
|
|
||||||
connect(&m_watcher, SIGNAL(fileChanged(QString)),
|
connect(&m_watcher, SIGNAL(fileChanged(QString)),
|
||||||
this, SLOT(idxStatus()));
|
this, SLOT(idxStatus()));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user