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
ffd82479
Commit
ffd82479
authored
Dec 30, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix possible double-free on quit with simple volume widget
parent
8e8f6a5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
modules/gui/qt4/components/controller_widget.cpp
modules/gui/qt4/components/controller_widget.cpp
+1
-7
modules/gui/qt4/components/controller_widget.hpp
modules/gui/qt4/components/controller_widget.hpp
+0
-1
No files found.
modules/gui/qt4/components/controller_widget.cpp
View file @
ffd82479
...
...
@@ -71,7 +71,7 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
/* Special view, click on button shows the slider */
b_shiny
=
false
;
volumeControlWidget
=
new
QFrame
;
volumeControlWidget
=
new
QFrame
(
this
)
;
subLayout
=
new
QVBoxLayout
(
volumeControlWidget
);
subLayout
->
setContentsMargins
(
4
,
4
,
4
,
4
);
volumeMenu
=
new
QMenu
(
this
);
...
...
@@ -122,12 +122,6 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
CONNECT
(
THEMIM
,
soundMuteChanged
(
bool
),
this
,
updateMuteStatus
(
bool
)
);
}
SoundWidget
::~
SoundWidget
()
{
delete
volumeSlider
;
delete
volumeControlWidget
;
}
void
SoundWidget
::
refreshLabels
()
{
int
i_sliderVolume
=
volumeSlider
->
value
();
...
...
modules/gui/qt4/components/controller_widget.hpp
View file @
ffd82479
...
...
@@ -99,7 +99,6 @@ class SoundWidget : public QWidget
public:
SoundWidget
(
QWidget
*
parent
,
intf_thread_t
*
_p_i
,
bool
,
bool
b_special
=
false
);
virtual
~
SoundWidget
();
void
setMuted
(
bool
);
protected:
...
...
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