Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
J
jami-client-gnome
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
151
Issues
151
List
Boards
Labels
Milestones
Security & Compliance
Security & Compliance
Dependency List
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-client-gnome
Commits
b784e232
Unverified
Commit
b784e232
authored
Oct 30, 2019
by
Sébastien Blin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chatview: disconnect signal on close
Change-Id: I49fc04117bc2418c96414d654baec0a39d804382
parent
3be13559
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/chatview.cpp
src/chatview.cpp
+5
-1
No files found.
src/chatview.cpp
View file @
b784e232
...
...
@@ -312,7 +312,10 @@ on_record_closed(GtkPopover*, ChatView *self)
priv
->
cpp
->
current_action_
=
RecordAction
::
RECORD
;
if
(
priv
->
timer_duration
)
g_source_remove
(
priv
->
timer_duration
);
if
(
priv
->
is_video_record
)
priv
->
cpp
->
avModel_
->
stopPreview
();
if
(
priv
->
is_video_record
)
{
priv
->
cpp
->
avModel_
->
stopPreview
();
QObject
::
disconnect
(
priv
->
local_renderer_connection
);
}
priv
->
duration
=
0
;
}
...
...
@@ -1024,6 +1027,7 @@ init_video_widget(ChatView* self)
priv
->
cpp
->
avModel_
,
previewRenderer
,
VIDEO_RENDERER_REMOTE
);
}
else
{
priv
->
video_started_by_settings
=
true
;
QObject
::
disconnect
(
priv
->
local_renderer_connection
);
priv
->
local_renderer_connection
=
QObject
::
connect
(
&*
priv
->
cpp
->
avModel_
,
&
lrc
::
api
::
AVModel
::
rendererStarted
,
...
...
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