diff --git a/src/accountmodel.cpp b/src/accountmodel.cpp index fc23cb812123f53240cf311730b88a9a33a93da3..b5ba7373b4966fd3deaea6d065edb94e6970771f 100644 --- a/src/accountmodel.cpp +++ b/src/accountmodel.cpp @@ -177,7 +177,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,SIGNAL(enabled()),this,SLOT(slotSupportedProtocolsChanged())); + connect(a, &Account::enabled, d_ptr, &AccountModelPrivate::slotSupportedProtocolsChanged); } } }