From a6df99fe5c82a044272070f71ae394193f1def3f Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandresavard@alexandresavard-desktop.(none)> Date: Wed, 25 Nov 2009 11:11:56 -0500 Subject: [PATCH] [#2475] Fix IP2IP profile appearing in client's configuration window --- sflphone-common/src/managerimpl.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sflphone-common/src/managerimpl.cpp b/sflphone-common/src/managerimpl.cpp index c2ab357519..a2a2f17f74 100644 --- a/sflphone-common/src/managerimpl.cpp +++ b/sflphone-common/src/managerimpl.cpp @@ -3515,7 +3515,7 @@ ManagerImpl::getAccountList() iter = _accountMap.begin (); while (iter != _accountMap.end()) { - if (iter->second != NULL) { + if (iter->second != NULL && iter->first != IP2IP_PROFILE) { //_debug("PUSHING BACK %s\n", iter->first.c_str()); v.push_back (iter->first.data()); } @@ -3532,13 +3532,11 @@ ManagerImpl::getAccountList() // This account has not been loaded, so we ignore it if ( (iter=_accountMap.find (account_order[i])) != _accountMap.end()) { // If the account is valid - if (iter->second != NULL) { + if (iter->second != NULL && iter->first != IP2IP_PROFILE) { v.push_back (iter->first.data ()); } } } - - } return v; -- GitLab