Skip to content
Snippets Groups Projects
Commit 51b80321 authored by Stepan Salenikovich's avatar Stepan Salenikovich
Browse files

start call timer as soon as call is placed

Refs #71507
parent 1928642b
No related branches found
No related tags found
No related merge requests found
......@@ -1726,7 +1726,8 @@ UserActionModel* Call::userActionModel() const
///Check if creating a timer is necessary
void CallPrivate::initTimer()
{
if (q_ptr->lifeCycleState() == Call::LifeCycleState::PROGRESS) {
if (q_ptr->lifeCycleState() == Call::LifeCycleState::PROGRESS
|| q_ptr->lifeCycleState() == Call::LifeCycleState::INITIALIZATION) {
if (!m_pTimer) {
m_pTimer = new QTimer(this);
m_pTimer->setInterval(1000);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment