Skip to content
Snippets Groups Projects
Commit 42f3a69c authored by Emmanuel Lepage Vallée's avatar Emmanuel Lepage Vallée
Browse files

account: Fix an invalid connection

slotSupportedProtocolsChanged is part of AccountModelPrivate,
not AccountModel

Refs #74204

Change-Id: I7be5cb74c28ed3f878d2cfed76e7f8f658ebb9fd
parent 55dc37f0
No related branches found
No related tags found
No related merge requests found
...@@ -177,7 +177,7 @@ Account* AccountModel::ip2ip() const ...@@ -177,7 +177,7 @@ Account* AccountModel::ip2ip() const
foreach(Account* a, d_ptr->m_lAccounts) { foreach(Account* a, d_ptr->m_lAccounts) {
if (a->id() == DRing::Account::ProtocolNames::IP2IP) { if (a->id() == DRing::Account::ProtocolNames::IP2IP) {
d_ptr->m_pIP2IP = a; d_ptr->m_pIP2IP = a;
connect(a,SIGNAL(enabled()),this,SLOT(slotSupportedProtocolsChanged())); connect(a, &Account::enabled, d_ptr, &AccountModelPrivate::slotSupportedProtocolsChanged);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment