Commit fb43e4ac authored by Albert  Babí Oller's avatar Albert Babí Oller Committed by Sébastien Blin

callmodel: currentCall_ must be reset if holded

forget current call when state == PAUSE in order to make
possible the setCurrentCall afterwards

Change-Id: I663a951d1981f49d52ee7725a8f440d83ade4d61
parent 20dcfda8
......@@ -789,6 +789,8 @@ NewCallModelPimpl::slotCallStateChanged(const QString& callId, const QString& st
if (it != pendingConferences_.end()) {
linked.joinCalls(it->second, it->first);
}
} else if (call->status == call::Status::PAUSED) {
currentCall_ = "";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment