Add keyboard shortcut for focusing search fields

Fixes #779
This commit is contained in:
Jonas Kvinge
2021-09-27 21:42:30 +02:00
parent 3292db8b77
commit 8d2615547d
15 changed files with 128 additions and 8 deletions

View File

@@ -85,6 +85,9 @@ class InternetSearchView : public QWidget {
void Init(Application *app, InternetService *service);
bool SearchFieldHasFocus() const;
void FocusSearchField();
void LazyLoadAlbumCover(const QModelIndex &proxy_index);
protected:
@@ -121,7 +124,6 @@ class InternetSearchView : public QWidget {
bool SearchKeyEvent(QKeyEvent *e);
bool ResultsContextMenuEvent(QContextMenuEvent *e);
void FocusSearchField();
MimeData *SelectedMimeData();