Skip to content
Snippets Groups Projects
Commit 30fe7eef authored by Yang Wang's avatar Yang Wang Committed by Ming Rui Zhang
Browse files

video overlay: fix the timer not updating problem

- change the timer update freqyuency from once per second to once per 20
  milisecond

Change-Id: I72ffb7668076f9dcae4dd3d78b0559fb7878e489
parent bdb6f441
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ VideoOverlay::updateCall(const conversation::Info& convInfo) ...@@ -67,7 +67,7 @@ VideoOverlay::updateCall(const conversation::Info& convInfo)
QObject::disconnect(oneSecondTimer_); QObject::disconnect(oneSecondTimer_);
QObject::connect(oneSecondTimer_, &QTimer::timeout, QObject::connect(oneSecondTimer_, &QTimer::timeout,
this, &VideoOverlay::setTime); this, &VideoOverlay::setTime);
oneSecondTimer_->start(1000); oneSecondTimer_->start(20);
resetToFadeIn(true); resetToFadeIn(true);
// close chat panel // close chat panel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment