2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fix -Wunused-variable warnings

This commit is contained in:
Ilya Fedin
2021-07-13 21:51:07 +04:00
committed by John Preston
parent b6881022ce
commit 79cc797aff
156 changed files with 65 additions and 435 deletions

View File

@@ -773,10 +773,8 @@ void Generator::paintBubble(const Bubble &bubble) {
} else if (!bubble.waveform.isEmpty()) {
const auto &st = st::msgFileLayout;
auto nameleft = x + st.padding.left() + st.thumbSize + st.padding.right();
auto nametop = y + st.nameTop;
auto nameright = st.padding.left();
auto statustop = y + st.statusTop;
auto bottom = y + st.padding.top() + st.thumbSize + st.padding.bottom();
auto inner = style::rtlrect(x + st.padding.left(), y + st.padding.top(), st.thumbSize, st.thumbSize, _rect.width());
_p->setPen(Qt::NoPen);