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
73ab1cd9
Commit
73ab1cd9
authored
Sep 17, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable focus on buttons to avoid "space" to be catched by a button on focus.
Space is Play/Pause. ALWAYS
parent
7913a116
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+6
-2
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
73ab1cd9
...
...
@@ -317,7 +317,9 @@ void VisualSelector::next()
#define setupSmallButton( aButton ){ \
aButton->setMaximumSize( QSize( 26, 26 ) ); \
aButton->setMinimumSize( QSize( 26, 26 ) ); \
aButton->setIconSize( QSize( 20, 20 ) ); }
aButton->setIconSize( QSize( 20, 20 ) ); \
aButton->setFocusPolicy( Qt::NoFocus ); \
}
/* init static variables in advanced controls */
mtime_t
AdvControlsWidget
::
timeA
=
0
;
...
...
@@ -527,12 +529,14 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
slowerButton
=
new
QToolButton
;
slowerButton
->
setAutoRaise
(
true
);
slowerButton
->
setMaximumSize
(
QSize
(
26
,
20
)
);
slowerButton
->
setFocusPolicy
(
Qt
::
NoFocus
);
BUTTON_SET_ACT
(
slowerButton
,
"-"
,
qtr
(
"Slower"
),
slower
()
);
fasterButton
=
new
QToolButton
;
fasterButton
->
setAutoRaise
(
true
);
fasterButton
->
setMaximumSize
(
QSize
(
26
,
20
)
);
fasterButton
->
setFocusPolicy
(
Qt
::
NoFocus
);
BUTTON_SET_ACT
(
fasterButton
,
"+"
,
qtr
(
"Faster"
),
faster
()
);
...
...
@@ -643,7 +647,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
playButton
->
setMaximumSize
(
QSize
(
36
,
36
)
);
playButton
->
setMinimumSize
(
QSize
(
36
,
36
)
);
playButton
->
setIconSize
(
QSize
(
30
,
30
)
);
playButton
->
setFocusPolicy
(
Qt
::
NoFocus
);
/** Prev + Stop + Next Block **/
controlButLayout
=
new
QHBoxLayout
;
...
...
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