2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Fixed build with Xcode.

This commit is contained in:
23rd
2024-05-21 16:22:18 +03:00
committed by John Preston
parent 8eb24f620d
commit 5e29f382cd
4 changed files with 5 additions and 5 deletions

View File

@@ -801,7 +801,7 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
p.fillRect(dialogsClip, currentBg());
}
} else if (_state == WidgetState::Filtered) {
auto top = 0;
[[maybe_unused]] auto top = 0;
if (!_hashtagResults.empty()) {
auto from = floorclamp(r.y(), st::mentionHeight, 0, _hashtagResults.size());
auto to = ceilclamp(r.y() + r.height(), st::mentionHeight, 0, _hashtagResults.size());