mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
a96fbf1923
commit
91dabf11d3
|
@ -150,7 +150,7 @@ void VideoSurface::onNewFrameAvailable(const std::shared_ptr<VideoFrame>& newFra
|
|||
|
||||
float newRatio = getSizeRatio(newSize);
|
||||
|
||||
if (newRatio != ratio && isVisible()) {
|
||||
if (qAbs(newRatio - ratio) < 1E-3 && isVisible()) {
|
||||
ratio = newRatio;
|
||||
recalulateBounds();
|
||||
emit ratioChanged();
|
||||
|
|
|
@ -260,5 +260,5 @@ void GroupWidget::setName(const QString& name)
|
|||
|
||||
void GroupWidget::retranslateUi()
|
||||
{
|
||||
updatePeerCount();
|
||||
updateUserCount();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user