Skip to content
Snippets Groups Projects
Commit 55783c6f authored by trilene's avatar trilene
Browse files

Tweak ActiveCallBar

parent 88cfa3a8
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ ActiveCallBar::setCallParty(
const QString &roomName,
const QString &avatarUrl)
{
callPartyLabel_->setText(
callPartyLabel_->setText(" " +
(displayName.isEmpty() ? userid : displayName) + " -");
if (!avatarUrl.isEmpty())
......@@ -137,10 +137,9 @@ ActiveCallBar::update(WebRTCSession::State state)
case WebRTCSession::State::CONNECTED:
callStartTime_ = QDateTime::currentSecsSinceEpoch();
timer_->start(1000);
stateLabel_->setText("Active call:");
stateLabel_->setText("Voice call:");
durationLabel_->setText("00:00");
durationLabel_->show();
muteBtn_->show();
break;
case WebRTCSession::State::DISCONNECTED:
timer_->stop();
......
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