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
b62a28b2
Commit
b62a28b2
authored
Jan 10, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: DO NOT use qobject_cast without checking it!
How difficult is that? Fix crash introduced by
1a4bb059
parent
4be112d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/gui/qt4/components/controller_widget.cpp
modules/gui/qt4/components/controller_widget.cpp
+4
-1
No files found.
modules/gui/qt4/components/controller_widget.cpp
View file @
b62a28b2
...
...
@@ -183,7 +183,10 @@ void SoundWidget::updateMuteStatus()
playlist_t
*
p_playlist
=
pl_Hold
(
p_intf
);
b_is_muted
=
aout_IsMuted
(
VLC_OBJECT
(
p_playlist
)
);
pl_Release
(
p_intf
);
(
qobject_cast
<
SoundSlider
*>
(
volumeSlider
))
->
setMuted
(
b_is_muted
);
SoundSlider
*
soundSlider
=
qobject_cast
<
SoundSlider
*>
(
volumeSlider
);
if
(
soundSlider
)
soundSlider
->
setMuted
(
b_is_muted
);
refreshLabels
();
}
...
...
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