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
1afe7311
Commit
1afe7311
authored
Jul 26, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix leakage in FS controller (part 2)
parent
b0090449
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+16
-14
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
1afe7311
...
@@ -404,7 +404,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
...
@@ -404,7 +404,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
bool
b_fsCreation
)
:
bool
b_fsCreation
)
:
QFrame
(
_p_mi
),
p_intf
(
_p_i
)
QFrame
(
_p_mi
),
p_intf
(
_p_i
)
{
{
setSizePolicy
(
QSizePolicy
::
Preferred
,
QSizePolicy
::
Maximum
);
setSizePolicy
(
QSizePolicy
::
Preferred
,
QSizePolicy
::
Maximum
);
/** The main Slider **/
/** The main Slider **/
slider
=
new
InputSlider
(
Qt
::
Horizontal
,
NULL
);
slider
=
new
InputSlider
(
Qt
::
Horizontal
,
NULL
);
...
@@ -537,7 +537,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
...
@@ -537,7 +537,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
playButton
->
setIconSize
(
QSize
(
30
,
30
)
);
playButton
->
setIconSize
(
QSize
(
30
,
30
)
);
/** Prev + Stop + Next Block **/
/** Prev + Stop + Next Block **/
controlButLayout
=
new
QHBoxLayout
;
controlButLayout
=
new
QHBoxLayout
;
controlButLayout
->
setSpacing
(
0
);
/* Don't remove that, will be useful */
controlButLayout
->
setSpacing
(
0
);
/* Don't remove that, will be useful */
...
@@ -578,18 +578,20 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
...
@@ -578,18 +578,20 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
BUTTON_SET_ACT
(
fullscreenButton
,
"F"
,
qtr
(
"Fullscreen"
),
fullscreen
()
);
BUTTON_SET_ACT
(
fullscreenButton
,
"F"
,
qtr
(
"Fullscreen"
),
fullscreen
()
);
setupSmallButton
(
fullscreenButton
);
setupSmallButton
(
fullscreenButton
);
/** Playlist Button **/
if
(
!
b_fsCreation
)
playlistButton
=
new
QPushButton
;
{
setupSmallButton
(
playlistButton
);
/** Playlist Button **/
BUTTON_SET_IMG
(
playlistButton
,
""
,
playlist
.
png
,
qtr
(
"Show playlist"
)
);
playlistButton
=
new
QPushButton
;
CONNECT
(
playlistButton
,
clicked
(),
_p_mi
,
togglePlaylist
()
);
setupSmallButton
(
playlistButton
);
BUTTON_SET_IMG
(
playlistButton
,
""
,
playlist
.
png
,
qtr
(
"Show playlist"
)
);
/** extended Settings **/
CONNECT
(
playlistButton
,
clicked
(),
_p_mi
,
togglePlaylist
()
);
extSettingsButton
=
new
QPushButton
;
BUTTON_SET_ACT
(
extSettingsButton
,
"Ex"
,
qtr
(
"Extended settings"
),
/** extended Settings **/
extSettings
()
);
extSettingsButton
=
new
QPushButton
;
setupSmallButton
(
extSettingsButton
);
BUTTON_SET_ACT
(
extSettingsButton
,
"Ex"
,
qtr
(
"Extended settings"
),
extSettings
()
);
setupSmallButton
(
extSettingsButton
);
}
/* Volume */
/* Volume */
hVolLabel
=
new
VolumeClickHandler
(
p_intf
,
this
);
hVolLabel
=
new
VolumeClickHandler
(
p_intf
,
this
);
...
...
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