diff options
author | trilene <trilene@runbox.com> | 2020-07-23 17:02:50 -0400 |
---|---|---|
committer | trilene <trilene@runbox.com> | 2020-07-23 17:02:50 -0400 |
commit | 55783c6fe503fbf59dce40cf0a1748764733c6c4 (patch) | |
tree | 45293c4b22d13dbf28ef969e038a5b11ab2e9868 /src | |
parent | Polish voice call UI (diff) | |
download | nheko-55783c6fe503fbf59dce40cf0a1748764733c6c4.tar.xz |
Tweak ActiveCallBar
Diffstat (limited to 'src')
-rw-r--r-- | src/ActiveCallBar.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ActiveCallBar.cpp b/src/ActiveCallBar.cpp index 5703c1ed..564842da 100644 --- a/src/ActiveCallBar.cpp +++ b/src/ActiveCallBar.cpp @@ -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(); |