feat(src/components/call/CallModel): add assert when one instance is created

This commit is contained in:
Ronan Abhamon 2017-03-15 10:24:08 +01:00
parent fc101bd878
commit 69da806f46

View file

@ -35,6 +35,7 @@
// =============================================================================
CallModel::CallModel (shared_ptr<linphone::Call> linphone_call) {
Q_ASSERT(linphone_call != nullptr);
m_linphone_call = linphone_call;
// Deal with auto-answer.