From 79b36e4aacbaa9e55e1f5da51085ce93e18022bc Mon Sep 17 00:00:00 2001 From: Alexandre Lision <alexandre.lision@savoirfairelinux.com> Date: Wed, 16 Sep 2015 11:21:16 -0400 Subject: [PATCH] call: set startTimeStamp before tracking the call When adding a call to a ContactMethod the lastUsedChanged is emitted if the startTimeStamp > 0. We will need this signal to reorder the recentmodel. Issue: #75334 Change-Id: Ic469b75a789ab2683566bd02de2fa4e724dcea77 --- src/call.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/call.cpp b/src/call.cpp index 90046b02..139ace45 100644 --- a/src/call.cpp +++ b/src/call.cpp @@ -1635,11 +1635,11 @@ void CallPrivate::call() m_PeerName = contact->formattedName(); } + setStartTimeStamp(); CallModel::instance()->registerCall(q_ptr); connect(m_pPeerContactMethod, SIGNAL(presentChanged(bool)), this, SLOT(updated())); m_pPeerContactMethod->addCall(q_ptr); - setStartTimeStamp(); // m_pDialNumber is now deprecated by m_pPeerContactMethod emit q_ptr->dialNumberChanged(QString()); -- GitLab