Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-client-windows
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-client-windows
Commits
17a6d4cd
Commit
17a6d4cd
authored
Sep 24, 2019
by
Ming Rui Zhang
Committed by
Andreas Traczyk
Sep 24, 2019
Browse files
Options
Downloads
Patches
Plain Diff
videowidget: fix the possible unreset pointer problem for distant and preview renderer
Change-Id: I3288aebe83c47258ae4dcbff18fe98440d96abb3
parent
4a551c97
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
videowidget.cpp
+4
-2
4 additions, 2 deletions
videowidget.cpp
with
4 additions
and
2 deletions
videowidget.cpp
+
4
−
2
View file @
17a6d4cd
...
...
@@ -397,12 +397,14 @@ void
VideoWidget
::
slotStopFullView
(
const
std
::
string
&
id
)
{
QObject
::
disconnect
(
rendererConnections_
.
updated
);
QObject
::
disconnect
(
rendererConnections_
.
stopped
);
using
namespace
lrc
::
api
::
video
;
if
(
id
==
PREVIEW_RENDERER_ID
)
{
previewRenderer_
=
nullptr
;
}
else
{
distantRenderer_
=
nullptr
;
}
if
(
!
previewRenderer_
&&
!
distantRenderer_
)
{
QObject
::
disconnect
(
rendererConnections_
.
stopped
);
repaint
();
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment