From 42f3a69cfc527639eadd7964dc48ce66f7c7b07c Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee <elv1313@gmail.com> Date: Mon, 8 Jun 2015 12:07:38 -0400 Subject: [PATCH] account: Fix an invalid connection slotSupportedProtocolsChanged is part of AccountModelPrivate, not AccountModel Refs #74204 Change-Id: I7be5cb74c28ed3f878d2cfed76e7f8f658ebb9fd --- src/accountmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accountmodel.cpp b/src/accountmodel.cpp index fc23cb81..b5ba7373 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); } } } -- GitLab