Fix compilation error on GCC.

This commit is contained in:
John Preston 2021-10-31 09:45:43 +04:00
parent c55dc00180
commit 5761e7559a
1 changed files with 0 additions and 1 deletions

View File

@ -755,7 +755,6 @@ void PeerShortInfoBox::resizeEvent(QResizeEvent *e) {
}
int PeerShortInfoBox::fillRoundedTopHeight() {
const auto roundedWidth = _topRoundBackground->width();
const auto roundedHeight = _topRoundBackground->height();
const auto scrollTop = _scroll->scrollTop();
const auto covered = (st::shortInfoWidth - scrollTop);