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
b8bc19e5
Commit
b8bc19e5
authored
Oct 08, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Save hotkeys (Closes:#714)
parent
be4cca98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+9
-0
No files found.
modules/gui/qt4/components/preferences_widgets.cpp
View file @
b8bc19e5
...
...
@@ -132,6 +132,7 @@ void ConfigControl::doApply( intf_thread_t *p_intf )
case
1
:
{
VIntConfigControl
*
vicc
=
qobject_cast
<
VIntConfigControl
*>
(
this
);
assert
(
vicc
);
config_PutInt
(
p_intf
,
vicc
->
getName
(),
vicc
->
getValue
()
);
break
;
}
...
...
@@ -139,6 +140,7 @@ void ConfigControl::doApply( intf_thread_t *p_intf )
{
VFloatConfigControl
*
vfcc
=
qobject_cast
<
VFloatConfigControl
*>
(
this
);
assert
(
vfcc
);
config_PutFloat
(
p_intf
,
vfcc
->
getName
(),
vfcc
->
getValue
()
);
break
;
}
...
...
@@ -146,11 +148,14 @@ void ConfigControl::doApply( intf_thread_t *p_intf )
{
VStringConfigControl
*
vscc
=
qobject_cast
<
VStringConfigControl
*>
(
this
);
assert
(
vscc
);
config_PutPsz
(
p_intf
,
vscc
->
getName
(),
qta
(
vscc
->
getValue
()
)
);
break
;
}
case
4
:
{
KeySelectorControl
*
ksc
=
qobject_cast
<
KeySelectorControl
*>
(
this
);
assert
(
ksc
);
ksc
->
doApply
();
}
}
...
...
@@ -807,6 +812,10 @@ void KeySelectorControl::selectKey( QTreeWidgetItem *keyItem )
void
KeySelectorControl
::
doApply
()
{
foreach
(
module_config_t
*
p_current
,
values
)
{
config_PutInt
(
p_this
,
p_current
->
psz_name
,
p_current
->
i_value
);
}
}
KeyInputDialog
::
KeyInputDialog
(
QList
<
module_config_t
*>&
_values
,
...
...
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