From c0851bcbf754340ee347dbc79890667804592575 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage <emmanuel.lepage@savoirfairelinux.com> Date: Fri, 23 Sep 2011 14:46:59 -0400 Subject: [PATCH] Close SFLPhone at the right place, it still respawn, I don't know why --- src/CallModel.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/CallModel.hpp b/src/CallModel.hpp index c00046d9..a04ec740 100644 --- a/src/CallModel.hpp +++ b/src/CallModel.hpp @@ -67,12 +67,11 @@ template<typename CallWidget, typename Index> bool CallModel<CallWidget,Index>:: //Fill the history list //@warning This solution wont scale to multiple call or history model implementation. Some static addCall + foreach for each call would be needed if this case ever become unavoidable template<typename CallWidget, typename Index> bool CallModel<CallWidget,Index>::initHistory() -{qDebug() << "\n\n\n\nInit history"; - if (!historyInit) {qDebug() << "In if"; +{ + if (!historyInit) { ConfigurationManagerInterface& configurationManager = ConfigurationManagerInterfaceSingleton::getInstance(); QStringList historyMap = configurationManager.getHistory().value(); - qDebug() << historyMap.size(); - foreach (QString historyCallId, historyMap) {qDebug() << "Here"; + foreach (QString historyCallId, historyMap) { QStringList param = historyCallId.split("|"); if (param.count() <= 10) { //If this ever change, look at the gnome client -- GitLab