Skip to content
Snippets Groups Projects
Commit c0851bcb authored by Emmanuel Lepage's avatar Emmanuel Lepage
Browse files

Close SFLPhone at the right place, it still respawn, I don't know why

parent ba8cc85d
No related branches found
No related tags found
No related merge requests found
...@@ -67,12 +67,11 @@ template<typename CallWidget, typename Index> bool CallModel<CallWidget,Index>:: ...@@ -67,12 +67,11 @@ template<typename CallWidget, typename Index> bool CallModel<CallWidget,Index>::
//Fill the history list //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 //@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() 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(); ConfigurationManagerInterface& configurationManager = ConfigurationManagerInterfaceSingleton::getInstance();
QStringList historyMap = configurationManager.getHistory().value(); QStringList historyMap = configurationManager.getHistory().value();
qDebug() << historyMap.size(); foreach (QString historyCallId, historyMap) {
foreach (QString historyCallId, historyMap) {qDebug() << "Here";
QStringList param = historyCallId.split("|"); QStringList param = historyCallId.split("|");
if (param.count() <= 10) { if (param.count() <= 10) {
//If this ever change, look at the gnome client //If this ever change, look at the gnome client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment