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
4f63084e
Commit
4f63084e
authored
10 years ago
by
Edric Milaret
Committed by
gerrit2
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
call: switch to first call on hold when hanging up another
Refs #75423 Change-Id: Ifb5e09c4d1f414078352aa2134547659bec31fea
parent
3ea594a0
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
callwidget.cpp
+7
-0
7 additions, 0 deletions
callwidget.cpp
with
7 additions
and
0 deletions
callwidget.cpp
+
7
−
0
View file @
4f63084e
...
@@ -261,6 +261,13 @@ CallWidget::callStateChanged(Call* call, Call::State previousState)
...
@@ -261,6 +261,13 @@ CallWidget::callStateChanged(Call* call, Call::State previousState)
setActualCall
(
nullptr
);
setActualCall
(
nullptr
);
ui
->
videoWidget
->
hide
();
ui
->
videoWidget
->
hide
();
displaySpinner
(
false
);
displaySpinner
(
false
);
auto
onHoldCall
=
callModel_
->
getActiveCalls
().
first
();
if
(
onHoldCall
!=
nullptr
)
{
setActualCall
(
onHoldCall
);
onHoldCall
->
performAction
(
Call
::
Action
::
HOLD
);
}
}
else
if
(
call
->
state
()
==
Call
::
State
::
HOLD
)
{
ui
->
videoWidget
->
hide
();
}
else
if
(
call
->
state
()
==
Call
::
State
::
CURRENT
)
{
}
else
if
(
call
->
state
()
==
Call
::
State
::
CURRENT
)
{
displaySpinner
(
false
);
displaySpinner
(
false
);
ui
->
videoWidget
->
show
();
ui
->
videoWidget
->
show
();
...
...
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