fix(src/components/sip-addresses/SipAddressesModel): better code

This commit is contained in:
Ronan Abhamon 2017-02-21 14:45:21 +01:00
parent 217e2f45b7
commit 990dc04f0a

View file

@ -77,7 +77,7 @@ SipAddressesModel::SipAddressesModel (QObject *parent) : QAbstractListModel(pare
);
QObject::connect(
&(*CoreManager::getInstance()->getHandlers()), &CoreHandlers::callStateChanged,
&(*m_core_handlers), &CoreHandlers::callStateChanged,
this, [this](const std::shared_ptr<linphone::Call> &call, linphone::CallState state) {
// Ignore aborted calls.
if (call->getCallLog()->getStatus() == linphone::CallStatus::CallStatusAborted)