Container's removing item problem.
Hi,
Code:
cs_manager->getUnansweredCalls().clear();
does not clear the list(unanswered calls).
But, the following clears the temp_list;
Code:
QList<CallSession*> temp_list = cs_manager->getUnansweredCalls();
temp_list .clear();
Any ideas?
Re: Container's removing item problem.
please check what getUnansweredCalls() returns (I'll bet it is a copy).
Since you did not show complete code it is impossible to say. Next time, please show complete compilable code.
Re: Container's removing item problem.
Thanks for your quicky response.
I've found my error and it's very code specific. Thanks again.