Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
e7807a9e
Commit
e7807a9e
authored
Jul 09, 2013
by
Ludovic Fauvet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: add a shortcut to give the focus to the search entry in advanced prefs
parent
2a823309
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/gui/qt4/dialogs/preferences.cpp
modules/gui/qt4/dialogs/preferences.cpp
+4
-0
No files found.
modules/gui/qt4/dialogs/preferences.cpp
View file @
e7807a9e
...
...
@@ -43,6 +43,7 @@
#include <QDialogButtonBox>
#include <QStackedWidget>
#include <QSplitter>
#include <QShortcut>
PrefsDialog
::
PrefsDialog
(
QWidget
*
parent
,
intf_thread_t
*
_p_intf
)
:
QVLCDialog
(
parent
,
_p_intf
)
...
...
@@ -165,6 +166,9 @@ void PrefsDialog::setAdvanced()
CONNECT
(
current_filter
,
stateChanged
(
int
),
this
,
onlyLoadedToggled
()
);
advanced_tree_panel
->
layout
()
->
addWidget
(
current_filter
);
QShortcut
*
search
=
new
QShortcut
(
QKeySequence
(
QKeySequence
::
Find
),
tree_filter
);
CONNECT
(
search
,
activated
(),
tree_filter
,
setFocus
()
);
}
/* If don't have already and advanced TREE, then create it */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment