Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
05d3d3a1
Commit
05d3d3a1
authored
Dec 30, 2008
by
Jean-Baptiste Kempf
Browse files
Qt: short simplification
parent
72852e3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/components/interface_widgets.cpp
View file @
05d3d3a1
...
...
@@ -358,12 +358,11 @@ SpeedControlWidget::SpeedControlWidget( intf_thread_t *_p_i, QWidget *_parent )
CONNECT
(
normalSpeedButton
,
clicked
(),
this
,
resetRate
()
);
QVBoxLayout
*
speedControlLayout
=
new
QVBoxLayout
;
QVBoxLayout
*
speedControlLayout
=
new
QVBoxLayout
(
this
)
;
speedControlLayout
->
setLayoutMargins
(
4
,
4
,
4
,
4
,
4
);
speedControlLayout
->
setSpacing
(
4
);
speedControlLayout
->
addWidget
(
speedSlider
);
speedControlLayout
->
addWidget
(
normalSpeedButton
);
setLayout
(
speedControlLayout
);
activateOnState
();
}
...
...
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