Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
b9b3d4e0
Commit
b9b3d4e0
authored
Feb 13, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: fix matching key config items
mux-ts-use-key-frames is not a key!
parent
7e44b4e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
modules/gui/qt4/components/complete_preferences.cpp
modules/gui/qt4/components/complete_preferences.cpp
+5
-5
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+5
-5
No files found.
modules/gui/qt4/components/complete_preferences.cpp
View file @
b9b3d4e0
...
...
@@ -457,12 +457,12 @@ AdvPrefsPanel::AdvPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
boxlayout
=
new
QGridLayout
();
}
/* Only one hotkey control */
if
(
has_hotkey
&&
p_item
->
i_type
&
CONFIG_ITEM
&&
p_item
->
psz_name
&&
strstr
(
p_item
->
psz_name
,
"key-"
)
)
continue
;
if
(
p_item
->
i_type
&
CONFIG_ITEM
&&
p_item
->
psz_name
&&
strstr
(
p_item
->
psz_name
,
"key-"
)
)
if
(
(
p_item
->
i_type
&
CONFIG_ITEM
)
==
CONFIG_ITEM_KEY
)
{
if
(
has_hotkey
)
continue
;
has_hotkey
=
true
;
}
ConfigControl
*
control
;
if
(
!
box
)
...
...
modules/gui/qt4/components/preferences_widgets.cpp
View file @
b9b3d4e0
...
...
@@ -1295,11 +1295,11 @@ void KeySelectorControl::finish()
{
module_config_t
*
p_item
=
p_config
+
i
;
/* If we are a key option not empty */
if
(
p_item
->
i_type
&
CONFIG_ITEM
&&
p_item
->
psz_name
&&
strstr
(
p_item
->
psz_name
,
"key-"
)
&&
!
strstr
(
p_item
->
psz_name
,
"global-key"
)
&&
!
EMPTY_STR
(
p_item
->
psz_text
)
)
/* If we are a
(non-global)
key option not empty */
if
(
(
p_item
->
i_type
&
CONFIG_ITEM
==
CONFIG_ITEM_KEY
)
&&
p_item
->
psz_name
!=
NULL
&&
strncmp
(
p_item
->
psz_name
,
"global-"
,
7
)
&&
!
EMPTY_STR
(
p_item
->
psz_text
)
)
{
/*
Each tree item has:
...
...
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