Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jami-client-windows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
savoirfairelinux
jami-client-windows
Commits
b5b49077
Commit
b5b49077
authored
May 08, 2015
by
Edric Milaret
Committed by
Guillaume Roguez
May 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows: fix callStateChanged handling
Refs #72789 Change-Id: I2d99c0544513a885d05530247681587211059c10
parent
67007d13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
callwidget.cpp
callwidget.cpp
+3
-1
callwidget.ui
callwidget.ui
+6
-0
No files found.
callwidget.cpp
View file @
b5b49077
...
...
@@ -194,13 +194,15 @@ void
CallWidget
::
callStateChanged
(
Call
*
call
,
Call
::
State
previousState
)
{
Q_UNUSED
(
previousState
)
if
(
call
==
nullptr
)
return
;
ui
->
callList
->
setCurrentIndex
(
callModel_
->
getIndex
(
actualCall_
));
if
(
call
->
state
()
==
Call
::
State
::
OVER
)
{
actualCall_
=
nullptr
;
ui
->
videoWidget
->
hide
();
}
else
if
(
call
->
state
()
==
Call
::
State
::
HOLD
)
{
ui
->
videoWidget
->
hide
();
}
else
{
}
else
if
(
call
->
state
()
==
Call
::
State
::
CURRENT
)
{
ui
->
videoWidget
->
show
();
ui
->
messageOutput
->
setModel
(
IMConversationManager
::
instance
()
->
getModel
(
actualCall_
));
...
...
callwidget.ui
View file @
b5b49077
...
...
@@ -240,6 +240,12 @@
</item>
<item
alignment=
"Qt::AlignHCenter"
>
<widget
class=
"QLabel"
name=
"callStateLabel"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"text"
>
<string>
Call State :
</string>
</property>
...
...
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