Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-libclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
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-libclient
Commits
85f3d3d8
Commit
85f3d3d8
authored
10 years ago
by
Emmanuel Lepage Vallee
Browse files
Options
Downloads
Patches
Plain Diff
Make clang scan-build happy
parent
3c5603ce
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/accountmodel.cpp
+3
-1
3 additions, 1 deletion
src/accountmodel.cpp
src/call.cpp
+4
-1
4 additions, 1 deletion
src/call.cpp
src/private/videorenderermanager.cpp
+2
-0
2 additions, 0 deletions
src/private/videorenderermanager.cpp
src/profilemodel.cpp
+3
-0
3 additions, 0 deletions
src/profilemodel.cpp
with
12 additions
and
2 deletions
src/accountmodel.cpp
+
3
−
1
View file @
85f3d3d8
...
...
@@ -206,7 +206,9 @@ void AccountModelPrivate::slotAccountChanged(const QString& account,const QStrin
if
(
status
!=
"OK"
)
//Do not pollute the log
qDebug
()
<<
"Account"
<<
account
<<
"status changed to"
<<
status
;
}
a
->
d_ptr
->
m_LastSipRegistrationStatus
=
status
;
if
(
a
)
a
->
d_ptr
->
m_LastSipRegistrationStatus
=
status
;
ConfigurationManagerInterface
&
configurationManager
=
DBus
::
ConfigurationManager
::
instance
();
...
...
This diff is collapsed.
Click to expand it.
src/call.cpp
+
4
−
1
View file @
85f3d3d8
...
...
@@ -869,7 +869,10 @@ void Call::setDialNumber(const ContactMethod* number)
}
if
(
d_ptr
->
m_pDialNumber
&&
number
)
d_ptr
->
m_pDialNumber
->
setUri
(
number
->
uri
());
emit
dialNumberChanged
(
d_ptr
->
m_pDialNumber
->
uri
());
if
(
d_ptr
->
m_pDialNumber
)
emit
dialNumberChanged
(
d_ptr
->
m_pDialNumber
->
uri
());
emit
changed
();
emit
changed
(
this
);
}
...
...
This diff is collapsed.
Click to expand it.
src/private/videorenderermanager.cpp
+
2
−
0
View file @
85f3d3d8
...
...
@@ -187,10 +187,12 @@ void VideoRendererManagerPrivate::startedDecoding(const QString& id, const QStri
}
else
{
m_lRenderers
[
rid
]
->
setSize
(
res
);
#ifdef ENABLE_LIBWRAP
DBus
::
VideoManager
::
instance
().
registerSinkTarget
(
id
,
[
this
,
id
,
width
,
height
]
(
const
unsigned
char
*
frame
)
{
static_cast
<
Video
::
DirectRenderer
*>
(
m_lRenderers
[
id
.
toLatin1
()])
->
onNewFrame
(
QByteArray
::
fromRawData
(
reinterpret_cast
<
const
char
*>
(
frame
),
width
*
height
));
});
#endif
#if !defined(Q_OS_DARWIN)
static_cast
<
Video
::
ShmRenderer
*>
(
m_lRenderers
[
rid
])
->
setShmPath
(
shmPath
);
...
...
This diff is collapsed.
Click to expand it.
src/profilemodel.cpp
+
3
−
0
View file @
85f3d3d8
...
...
@@ -718,6 +718,9 @@ bool ProfileModel::dropMimeData(const QMimeData *data, Qt::DropAction action, in
destIdx
=
row
;
}
if
(
!
newProfile
)
return
false
;
Node
*
accountProfile
=
d_ptr
->
m_pProfileBackend
->
m_pEditor
->
m_hProfileByAccountId
[
accountId
];
for
(
Node
*
acc
:
accountProfile
->
children
)
{
if
(
acc
->
account
->
id
()
==
accountId
)
{
...
...
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