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
daa2af7f
Commit
daa2af7f
authored
9 years ago
by
Alexandre Lision
Browse files
Options
Downloads
Patches
Plain Diff
fix compilation with clang
replace faulty lambda with a private slot Refs #70609
parent
7a98f3da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/accountmodel.cpp
+6
-3
6 additions, 3 deletions
src/accountmodel.cpp
src/private/accountmodel_p.h
+1
-0
1 addition, 0 deletions
src/private/accountmodel_p.h
with
7 additions
and
3 deletions
src/accountmodel.cpp
+
6
−
3
View file @
daa2af7f
...
...
@@ -154,9 +154,7 @@ Account* AccountModel::ip2ip() const
foreach
(
Account
*
a
,
d_ptr
->
m_lAccounts
)
{
if
(
a
->
id
()
==
DRing
::
Account
::
ProtocolNames
::
IP2IP
)
{
d_ptr
->
m_pIP2IP
=
a
;
connect
(
a
,
&
Account
::
enabled
,[
this
]()
{
emit
supportedProtocolsChanged
();
});
connect
(
a
,
SIGNAL
(
enabled
()),
this
,
SLOT
(
slotSupportedProtocolsChanged
()));
}
}
}
...
...
@@ -287,6 +285,11 @@ void AccountModelPrivate::slotDaemonAccountChanged(const QString& account, const
}
void
AccountModelPrivate
::
slotSupportedProtocolsChanged
()
{
emit
q_ptr
->
supportedProtocolsChanged
();
}
///Tell the model something changed
void
AccountModelPrivate
::
slotAccountChanged
(
Account
*
a
)
{
...
...
This diff is collapsed.
Click to expand it.
src/private/accountmodel_p.h
+
1
−
0
View file @
daa2af7f
...
...
@@ -65,6 +65,7 @@ public:
public
Q_SLOTS
:
void
slotDaemonAccountChanged
(
const
QString
&
account
,
const
QString
&
registration_state
,
unsigned
code
,
const
QString
&
status
);
void
slotAccountChanged
(
Account
*
a
);
void
slotSupportedProtocolsChanged
();
void
slotVoiceMailNotify
(
const
QString
&
accountID
,
int
count
);
void
slotAccountPresenceEnabledChanged
(
bool
state
);
void
slotVolatileAccountDetailsChange
(
const
QString
&
accountId
,
const
MapStringString
&
details
);
...
...
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