Commit a0f9a4d9 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/views/App/Calls/Incall): hide stats when call is ended

parent 70c26565
......@@ -456,8 +456,9 @@ void CallModel::updateStats (const linphone::CallStats &callStats, QVariantList
stats.clear();
stats << createStat(tr("callStatsCodec"), payloadType ? QString("%1 / %2kHz")
.arg(Utils::linphoneStringToQString(payloadType->getMimeType())).arg(payloadType->getClockRate() / 1000) : "");
stats << createStat(tr("callStatsCodec"), payloadType
? QString("%1 / %2kHz").arg(Utils::linphoneStringToQString(payloadType->getMimeType())).arg(payloadType->getClockRate() / 1000)
: "");
stats << createStat(tr("callStatsUploadBandwidth"), QString("%1 kbits/s").arg(int(callStats.getUploadBandwidth())));
stats << createStat(tr("callStatsDownloadBandwidth"), QString("%1 kbits/s").arg(int(callStats.getDownloadBandwidth())));
stats << createStat(tr("callStatsIceState"), iceStateToString(callStats.getIceState()));
......
......@@ -24,6 +24,7 @@ function handleStatusChanged (status) {
}
telKeypad.visible = false
callStatistics.hideMenu()
}
}
......
......@@ -90,7 +90,6 @@ Rectangle {
width: container.width
launcher: callQuality
relativeTo: callQuality
relativeY: CallStyle.header.stats.relativeY
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment